dbskipper intermitent error

Re: dbskipper intermitent error

Postby Richard Chidiak » Fri Oct 16, 2009 7:34 am

James

What i did to secure my browse is to add this

oBrwAPP:bGotFocus := {|| IF(SELECT("APPEL") = 0, (OBRWAPP := NIL,APP1:SetFocus(),APP1:PostMsg(WM_CLOSE),APP1 := NIL ) , ) }


Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: dbskipper intermitent error

Postby James Bott » Fri Oct 16, 2009 11:42 am

Richard,

That looks like a nice workaround but it looks like the user is going to be quite surprised when the browse just automatically closes on them.

Here is how you can track down where the database is being closed. Create a transaction log file and record when each function of the buttons is being called and also when your workaround is being called. Then after a few days or a week you can look at the log file and see exactly were the workaround was called. The function immediately previous to that is where the database is being closed. Then you will know where to search.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 36 guests