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
xbrowse error fwh 8.08
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
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.
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
G. N. Rao.
Hyderabad, India