1 Method
The easiest way is to transfer the current record. Just change the value of the DataSource control for the example to CustTable if CustTable is in the current Form data sources. Then in the init method of the destination method:
public void init() { CustTable cTable; ; super();
2 Method
If you still need to pass exactly one .parm () value (or a more complex .parmObject () object), you can do this by overriding the method of clicking the source form button:
void clicked() {
Then in the init assignment form:
public void init() { str anyStringValueFromCaller; ; super();
I should definitely use only the first method, and only in special circumstances will it come with method # 2 with an overriding button method, because this is one of the default templates for passing values between forms. A more sophisticated example is available at AxaptaPedia.com Passing Values Between Forms
vukis source share