Assign value to Form Object arguments
Create a variable holding a single record or collection of records and pass the variable as a form object.
fet = Employees_Form[Joining_Date== '31-JAN-2018'];
thisapp.Send_Mail_Function(fet);
thisapp.Send_Mail_Function(fet);
(or)
thisapp.Send_Mail_Function(Employees_Form[Joining_Date == '31-JAN-2018']);
where,
| fet | Variable holding collection of records which meet the given criteria |
| Employees_Form | Name of the form the records belong to. |
| Joining_Date | Field name in Form A |
| thisapp.<function_name> | Syntax to pass form object to function. When the function belongs to the current application, use the syntax: thisapp.<function_name>. When the function belongs to a different application, use the syntax: <application_name>.<function_name> |
| Send_Mail_Function | Name of the function the form object is passed as an argument to. |
