Hello,
I use in DBFCDX this way to filter for all fields:
cWild := "*"+ "value to search A BUSCAR" +"*"
cFiltro := "hb_WildMatch( '"+cWild+"', DbRecordInfo( 9 ) ) .OR.
hb_WildMatch( '"+UPPER(cWild)+"', DbRecordInfo( 9 ) ) .or. hb_WildMatch(
'"+lower(cWild)+"', DbRecordInfo( 9 ) ) "
SET FILTER TO &cFiltro
It runs very well.
But ADS does not support it.
I tried with no luck:
cName := "LUCAS"
cExpr1 := 'contains( *, "*'+UPPER( alltrim(cName) )+'*" ) '
AdsSetAOF( cExpr1 )
Any clue please?.
Thank you very much.