I suppose you mean to get all the records in which Field1 > 10 and Field2 > 30 and Field3 > 40?
TheTable.RESET;
TheTable.SETCURRENTKEY("... some key"); // take the best fitting key
TheTable.SETFILTER(Field1,'>10');
TheTable.SETFILTER(Field2,'>30');
TheTable.SETFILTER(Field3,'>40');
IF TheTable.FINDSET THEN
REPEAT
...
UNTIL TheTable.NEXT = 0;
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!