FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowse error fwh 8.08
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
xbrowse error fwh 8.08
Posted: Wed Sep 03, 2008 07: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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
xbrowse error fwh 8.08
Posted: Wed Sep 03, 2008 07: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

Continue the discussion