Picture below shows how generated programs are executed and how you can use TRIGGERS to replace or add your own code.
Next actions are predefined in RASD:
ACTION | Description | Triggers |
---|---|---|
not defined | Search data , set record to 1 | pselect , poutput |
GBUTTONBCK | Search data , set record to previous record page | pselect , poutput |
GBUTTONFWD | Search data , set record to next record page | pselect , poutput |
GBUTTONSRC | Search data , set record to 1 | pselect , poutput |
GBUTTONSAVE | Save and search data , stay on the same record | pcommit, pselect , poutput |
GBUTTONCLR | Clears data on record | pclear , poutput |
POST_ACTION | Your own defined actions in trigger POST_ACTION | your own code where you can use also pcommit, pselect, poutput, pclear, ... |
Before all these actions SUBMIT code is executed.
Video: Executing code in RASD
Go back to [Documentation]