thanks for reply Amit sir i am trying this with button but failed! please do the needful [#form : Group Summary] add:button : xtbuttonxeX [button: xtbuttonxeX] Key : f3 Title : "SortAmtDesc" Action : Call: SetAmtDecsxs [Function:SetAmtDecsxs] Sort : @@AmountWiseDecr : -$$Abs:$yourvaluename
You have to add SORT in the Collection ....... In function you can SET a variable and there is no variable here.
Why not using "Trigger" Code: [#Form : Group Summary] Add:Button : SortAmtWise [button: SortAmtWise] Key : F3 Action: Trigger Key: F12,Enter:7,Amount (Increasing),Enter:2