APL |
\LASTACTS |
APL > APL Documentation > Functions > \LASTACTS
\LASTACTS
Automatically retrieves the most recently selected group of accounts.
Note: \LASTACTS can be used at any account search prompt in the expert system, the trading system, or within a macro.
- Select a group of accounts in the usual way as you run the first report you need. Any function with the SEARCH FOR WHAT? prompt will record your selection criteria
For example:
WHICH FUNCTION? BWTX BWTX PRESENT REPORT IN WHICH CURRENCY? US AS OF DATE (MM/DD/YY) - HIT ENTER FOR CURPRDATE : 6/12 217 ACCOUNTS CURRENTLY ON FILE SEARCH FOR WHAT? MGR EQ TS 3 RECORDS FOUND NEXT OPERATION (HIT RETURN WHEN DONE, OR TYPE HELP): RUN REPORT ERROR TRAP (RET) ? N MEYERM.LBX KASSDA.LBX SWITAA.LBX
- Then, to run another function on the same accounts (in this example, CASHLEDGR):
WHICH FUNCTION? CASHLEDGR
CASHLEDGR
BEGINNING DATE (MM/DD/YY) - HIT ENTER FOR CURPRDATE : 6/1
ENDING DATE (MM/DD/YY) - HIT ENTER FOR CURPRDATE : 6/12
217 ACCOUNTS CURRENTLY ON FILE
SEARCH FOR WHAT? \LASTACTS
LASTACTS
LASTACTS (PUBLIC)
3 RECORDS FOUND
NEXT OPERATION (HIT RETURN WHEN DONE, OR TYPE HELP):
MEYERM.LCL
KASSDA.LCL
SWITAA.LCL