I am putting the following code in the OnChange event of a DBBrowse object:
cSeekVal := "CCIVIL " + ::oDbfDataSetCCivil:IdNo
::oDbfDataSetPlaintiffs:SetScope( cSeekVal, cSeekVal, .T., .T. )
When I run the project, I get the following GPF:
#1: GPF (Code = c00000fd):
Stack overflow
TFOLDER:GETFONT (0)
TFOLDERPAGE:GETFONT (456)
TPANEL:GETFONT (456)
TDBBROWSE:GETFONT (456)
TDBBRWCOLUMN:OFONT (456)
TDBBRWCOLUMN:PAINTDATA (105)
TDBBROWSE:DRAWLINE (265)
TDBFDATASET:CHANGEPOS (1276)
TDBFDATASET:GOTOP (402)
TDBFDATASET:SETSCOPE (1359)
FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
TDBBROWSE:ONCHANGE (0)
TDBBROWSE:DSNAVIGATE (650)
TDBFDATASET:UPDATECONTROLS (1211)
TDBFDATASET:GOTOP (408)
TDBFDATASET:SETSCOPE (1359)
FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
TDBBROWSE:ONCHANGE (0)
TDBBROWSE:DSNAVIGATE (650)
TDBFDATASET:UPDATECONTROLS (1211)
This code is running on a Vista Business operating system.
Any clues as to what is going on? This same scope statement works in the
OnCreate() event.
TIA,
Gary
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
GPF Error - Stack Overflow
-
- Mensajes: 202
- Registrado: Dom Feb 17, 2008 3:35 am
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
GPF Error - Stack Overflow
Gary,
As you can see is a problem of recursivity:
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
The OnChange event is called again before its code execution is finished.
Review your code to see what is provoking that second execution.
On sample datacontrolsDbfData6FrmFacturas.prg we do exactly the same code
with no problem at all.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
news:[email=4aae7570@svctag-j7w3v3j....]4aae7570@svctag-j7w3v3j....[/email]
>I am putting the following code in the OnChange event of a DBBrowse object:
>
> cSeekVal := "CCIVIL " + ::oDbfDataSetCCivil:IdNo
> ::oDbfDataSetPlaintiffs:SetScope( cSeekVal, cSeekVal, .T., .T. )
>
> When I run the project, I get the following GPF:
>
> #1: GPF (Code = c00000fd):
> Stack overflow
>
> TFOLDER:GETFONT (0)
> TFOLDERPAGE:GETFONT (456)
> TPANEL:GETFONT (456)
> TDBBROWSE:GETFONT (456)
> TDBBRWCOLUMN:OFONT (456)
> TDBBRWCOLUMN:PAINTDATA (105)
> TDBBROWSE:DRAWLINE (265)
> TDBFDATASET:CHANGEPOS (1276)
> TDBFDATASET:GOTOP (402)
> TDBFDATASET:SETSCOPE (1359)
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
> TDBBROWSE:ONCHANGE (0)
> TDBBROWSE:DSNAVIGATE (650)
> TDBFDATASET:UPDATECONTROLS (1211)
> TDBFDATASET:GOTOP (408)
> TDBFDATASET:SETSCOPE (1359)
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
> TDBBROWSE:ONCHANGE (0)
> TDBBROWSE:DSNAVIGATE (650)
> TDBFDATASET:UPDATECONTROLS (1211)
>
> This code is running on a Vista Business operating system.
> Any clues as to what is going on? This same scope statement works in the
> OnCreate() event.
> TIA,
> Gary
>
As you can see is a problem of recursivity:
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
The OnChange event is called again before its code execution is finished.
Review your code to see what is provoking that second execution.
On sample datacontrolsDbfData6FrmFacturas.prg we do exactly the same code
with no problem at all.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
news:[email=4aae7570@svctag-j7w3v3j....]4aae7570@svctag-j7w3v3j....[/email]
>I am putting the following code in the OnChange event of a DBBrowse object:
>
> cSeekVal := "CCIVIL " + ::oDbfDataSetCCivil:IdNo
> ::oDbfDataSetPlaintiffs:SetScope( cSeekVal, cSeekVal, .T., .T. )
>
> When I run the project, I get the following GPF:
>
> #1: GPF (Code = c00000fd):
> Stack overflow
>
> TFOLDER:GETFONT (0)
> TFOLDERPAGE:GETFONT (456)
> TPANEL:GETFONT (456)
> TDBBROWSE:GETFONT (456)
> TDBBRWCOLUMN:OFONT (456)
> TDBBRWCOLUMN:PAINTDATA (105)
> TDBBROWSE:DRAWLINE (265)
> TDBFDATASET:CHANGEPOS (1276)
> TDBFDATASET:GOTOP (402)
> TDBFDATASET:SETSCOPE (1359)
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
> TDBBROWSE:ONCHANGE (0)
> TDBBROWSE:DSNAVIGATE (650)
> TDBFDATASET:UPDATECONTROLS (1211)
> TDBFDATASET:GOTOP (408)
> TDBFDATASET:SETSCOPE (1359)
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
> TDBBROWSE:ONCHANGE (0)
> TDBBROWSE:DSNAVIGATE (650)
> TDBFDATASET:UPDATECONTROLS (1211)
>
> This code is running on a Vista Business operating system.
> Any clues as to what is going on? This same scope statement works in the
> OnCreate() event.
> TIA,
> Gary
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
GPF Error - Stack Overflow
Gary,
As you can see is a problem of recursivity:
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
The OnChange event is called again before its code execution is finished.
Review your code to see what is provoking that second execution.
On sample datacontrolsDbfData6FrmFacturas.prg we do exactly the same code
with no problem at all.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
news:[email=4aae7570@svctag-j7w3v3j....]4aae7570@svctag-j7w3v3j....[/email]
>I am putting the following code in the OnChange event of a DBBrowse object:
>
> cSeekVal := "CCIVIL " + ::oDbfDataSetCCivil:IdNo
> ::oDbfDataSetPlaintiffs:SetScope( cSeekVal, cSeekVal, .T., .T. )
>
> When I run the project, I get the following GPF:
>
> #1: GPF (Code = c00000fd):
> Stack overflow
>
> TFOLDER:GETFONT (0)
> TFOLDERPAGE:GETFONT (456)
> TPANEL:GETFONT (456)
> TDBBROWSE:GETFONT (456)
> TDBBRWCOLUMN:OFONT (456)
> TDBBRWCOLUMN:PAINTDATA (105)
> TDBBROWSE:DRAWLINE (265)
> TDBFDATASET:CHANGEPOS (1276)
> TDBFDATASET:GOTOP (402)
> TDBFDATASET:SETSCOPE (1359)
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
> TDBBROWSE:ONCHANGE (0)
> TDBBROWSE:DSNAVIGATE (650)
> TDBFDATASET:UPDATECONTROLS (1211)
> TDBFDATASET:GOTOP (408)
> TDBFDATASET:SETSCOPE (1359)
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
> TDBBROWSE:ONCHANGE (0)
> TDBBROWSE:DSNAVIGATE (650)
> TDBFDATASET:UPDATECONTROLS (1211)
>
> This code is running on a Vista Business operating system.
> Any clues as to what is going on? This same scope statement works in the
> OnCreate() event.
> TIA,
> Gary
>
As you can see is a problem of recursivity:
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
The OnChange event is called again before its code execution is finished.
Review your code to see what is provoking that second execution.
On sample datacontrolsDbfData6FrmFacturas.prg we do exactly the same code
with no problem at all.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Gary S. Rogers" <g.s.rogers@att.net> escribió en el mensaje
news:[email=4aae7570@svctag-j7w3v3j....]4aae7570@svctag-j7w3v3j....[/email]
>I am putting the following code in the OnChange event of a DBBrowse object:
>
> cSeekVal := "CCIVIL " + ::oDbfDataSetCCivil:IdNo
> ::oDbfDataSetPlaintiffs:SetScope( cSeekVal, cSeekVal, .T., .T. )
>
> When I run the project, I get the following GPF:
>
> #1: GPF (Code = c00000fd):
> Stack overflow
>
> TFOLDER:GETFONT (0)
> TFOLDERPAGE:GETFONT (456)
> TPANEL:GETFONT (456)
> TDBBROWSE:GETFONT (456)
> TDBBRWCOLUMN:OFONT (456)
> TDBBRWCOLUMN:PAINTDATA (105)
> TDBBROWSE:DRAWLINE (265)
> TDBFDATASET:CHANGEPOS (1276)
> TDBFDATASET:GOTOP (402)
> TDBFDATASET:SETSCOPE (1359)
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
> TDBBROWSE:ONCHANGE (0)
> TDBBROWSE:DSNAVIGATE (650)
> TDBFDATASET:UPDATECONTROLS (1211)
> TDBFDATASET:GOTOP (408)
> TDBFDATASET:SETSCOPE (1359)
> FORM_CCIVILCASES:DBBROWSEPLAINTIFFSCHANGE (2145)
> TDBBROWSE:ONCHANGE (0)
> TDBBROWSE:DSNAVIGATE (650)
> TDBFDATASET:UPDATECONTROLS (1211)
>
> This code is running on a Vista Business operating system.
> Any clues as to what is going on? This same scope statement works in the
> OnCreate() event.
> TIA,
> Gary
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com