Next code generates a error in method Delrepos :
First a filter is set :
SET FILTER TO BEDIENDE->lActief // Logical field
This is preprocessed in :
dbSetFilter( {|| BEDIENDE->lActief}, "BEDIENDE->lActief" )
In Method Delrepos we have :
- Code: Select all Expand view
elseif ! Empty( cFilter := ( ::cAlias )->( dbFilter() ) )
// cFilter is "BEDIENDE->lActief"
bFilter := ( ::cAlias )->( &cFilter )
if ! ( ::cAlias )->( Eval( bFilter ) )
( ::cAlias )->( &cFilter ) gives not a codeblock , only the value from the logical field , so EVAL(bFilter) generates a error
Maybe (::cAlias)->(Eval(bFilter)) can be changed in :
- Code: Select all Expand view
IF (IsBlock(bFilter) .AND. (::cAlias)->(Eval(bFilter))) .OR. (IsLogical(bFilter) .AND. bFilter)
Frank