7.79.2 INVOKE Examples

This code shows MyForm using its Show method:

   INVOKE #MyForm.ShowForm

This code executes a GetInfo method, passes the current value of the #employee field to it, and receives a transaction number (trrno) which it assigns to the field #transa.

   INVOKE #frmDetails.GetInfo CurEmp(#EMPNO) trnno(#TRANSA)

Simple invocation using RDMLX:

   #Com_Owner.StringMethod String1(#Address1) String2(#Address2) String3(#Address3)
#Com_Owner.StringMethod String2(#Address2) String3(#Address3) String1(#Address1)

For more information about input parameters for methods, refer to 7.33 DEFINE_MAP and 7.91 MTHROUTINE commands.

  • No labels