Page 1 of 1

Fatal Error in Browse

Posted: Sat Jun 10, 2006 11:48 am
by Dan Landon
I am getting the following xBase error in Browse. Does anyone have a solution for this?

------------------------------------------------------------------------------
ERROR LOG Date: 06/10/2006 07:38:18

Xbase++ version : Xbase++ (R) Version 1.90.331
Operating system : Windows XP 05.01 Build 02600 Service Pack 2
------------------------------------------------------------------------------
oError:args :
oError:canDefault : N
oError:canRetry : N
oError:canSubstitute: N
oError:cargo : NIL
oError:description : Parameter has a wrong data type
oError:filename :
oError:genCode : 2
oError:operation :
oError:osCode : 0
oError:severity : 2
oError:subCode : 2311
oError:subSystem : BASE
oError:thread : 1
oError:tries : 0
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from TWINDOW:FIRSTACTIV(3198)
Called from TWINDOW:GOPREVCTRL(2487)
Called from TBTNBMP:KEYDOWN(742)
Called from TWINDOW:HANDLEEVEN(3011)
Called from TCONTROL:HANDLEEVEN(1322)
Called from _XBPP(3128)
Called from TDIALOG:ACTIVATE(273)
Called from CREATEESTI(733)
Called from (B)BROWSESALE(192)
Called from TWINDOW:LDBLCLICK(1754)
Called from TWBROWSE:LDBLCLICK(1041)
Called from TWINDOW:HANDLEEVEN(3027)
Called from TCONTROL:HANDLEEVEN(1322)
Called from _XBPP(3128)
Called from TWINDOW:ACTIVATE(881)
Called from MAIN(618)

Posted: Sat Jun 10, 2006 1:33 pm
by Antonio Linares
Dan,

Are you opening a new dialog with the keyboard ?

Could you provide a small and self contained sample to reproduce the error ? Thanks

Posted: Sun Jun 11, 2006 6:16 pm
by Dan Landon
It's not easy to reproduce. It happens infrequently when I navigate up and down with the arrow keys in the Report Preview screen. I believe it's with the Up Arrow key.

I am not opening a new dialog. I just run a Report with PREVIEW and when the Preview screen is active, I move up and down with the arrow keys.

Dan

Posted: Mon Jun 12, 2006 9:33 am
by Antonio Linares
Dan,

samples\TestPrn2.prg shows the print preview. We have been testing it here and it works ok. Could you please test it there and check if you get the error with it ? Thanks.

Posted: Tue Jul 18, 2006 10:54 am
by Dan Landon
It was my bad. I was doing something inappropriate that I believe was sending keystrokes to the browse screen while I had a print preview running at the same time on top of the browse. The browse got upset because I was messing with the database and indexes while it was trying to refresh the screen from the keystrokes.

Rather hard to explain, but I believe I have it solved.

Thanks
Dan

Posted: Wed Jul 19, 2006 7:10 pm
by Antonio Linares
Dan,

Very good :)