the user has accepted the dialog.
The run() method is implemented as shown in the following content.
1 2 3 4 5 6 7 8 9 10 11 12 | public void run() { AmountMST amountMST; CustTrans custTrans; while (queryRun.next()) { custTrans = queryRun.get(tableNum(CustTrans)); amountMST += custTrans.AmountMST; } info(strFmt("Sum equals %1", amountMST)); } |
When this version of the class is run from a menu item, the dialog has the query
select button and criteria preview, as shown in the following figure:
Best Regards,
Hossein Karimi
No comments:
Post a Comment