(RPG) Offline : /Form.OnLoad Operation

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
rdevost
Posts: 17
Joined: Fri Feb 20, 2015 9:21 am

(RPG) Offline : /Form.OnLoad Operation

Post by rdevost »

Hi,

Would like to ask how many '/Form.OnLoad.Operation' statements can I execute in a program? I know OnLoad occurs when the form opens for the first time. But if I have two or more calculations that I want to do (as it opens for the first time) (e.g. one ECL script and one PerformAction), can I issue two or more '/Form.OnLoad.Operation' statements? Or am I limited to just one?

Thanks!

Rocel
tsupartono
Posts: 289
Joined: Wed Apr 18, 2012 10:21 am

Re: (RPG) Offline : /Form.OnLoad Operation

Post by tsupartono »

You can only have one operation associated with the OnLoad event, however you can have many operations performed in ExecScript operation.
So in effect, you have the ability to perform many operations on your OnLoad event.

Have a look at the "Extended Client Logic - Executing Multiple Operations" section in your "LongRange RPG Offline Advanced Tutorials" guide.
Attachments
Capture.PNG
Capture.PNG (27.91 KiB) Viewed 2791 times
rdevost
Posts: 17
Joined: Fri Feb 20, 2015 9:21 am

Re: (RPG) Offline : /Form.OnLoad Operation

Post by rdevost »

Thanks Tony for the feedback.
Post Reply