Thanks Erik. Yes , I can not get the filter text . As I wrote the code here: opnepagetrigger, And I even can not set the descending for the column. Below is my code, if there is any error, I hope you could point out. Thanks in advance. Item list (page) OnopenPage(trigger) FOR x := 0 TO 5 DO BEGIN FILTERGROUP(x); IF GETFILTERS <> '' THEN HasFilters := TRUE; MESSAGE(GETFILTERS()); END; IF NOT HasFilters THEN BEGIN SETCURRENTKEY(Inventory); SETFILTER(Inventory,'>%1',0); SETASCENDING(Inventory,FALSE); END;
↧