xbrowse error fwh 8.08

xbrowse error fwh 8.08

Postby Richard Chidiak » Wed Sep 03, 2008 7:24 am

Antonio

When a dbf is filtered the method refresh is not working properly (error message)

Error occurred at: 03/09/2008, 09:13:14
Error description: Error BASE/1003 Variable does not exist: DTYPE

Stack Calls
===========
Called from: C:\CBATI32\xbrowse.PRG => TXBROWSE:DELREPOS(874)
Called from: C:\CBATI32\xbrowse.PRG => TXBROWSE:REFRESH(838)

This is the offending line
bFilter := ( ::cAlias )->( &cFilter )

Hth

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

Postby nageswaragunupudi » Wed Sep 03, 2008 7:47 am

XBrowse nowhere uses a variable DTYPE.

Probably it is a variable in the filter in the application program, which is out of scope. Is it a local or static variable in the application program used in the filter experession?

It appears that XBrowse assumes that the filter set by the programmer as retrieved from DbSetfilter() can always be converted to a valid codeblock. This assumption fails when the filter set in the application program uses local variables, which would not be available within Xbrowse.prg.

Till this issue is solved in the library I suggest a temporary fix.

to comment our lines out lines from 871 to 879.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 47 guests