Hi
Can we use column name dynamically in the setfilter method
Below is the code.
Procedure CheckFilter(Field: FieldRef; value: Text[50])
Begin
table1.setfilter(Field, 'value') >> It is showing the error (must be a memberAL)
End
Hi
Can we use column name dynamically in the setfilter method
Below is the code.
Procedure CheckFilter(Field: FieldRef; value: Text[50])
Begin
table1.setfilter(Field, 'value') >> It is showing the error (must be a memberAL)
End
You can use SETVIEW Function :
Filter := STRSUBSTNO('WHERE(%1=CONST(%2))',FieldRef.NAME,value);
Table1.SETVIEW(Filter);
YUN ZHU
628
Super User 2025 Season 1
Mansi Soni
495
Sagar Dangar, MCP
395