FORM_REPORT ()

FORM_REPORT ()

FORM_REPORT (condition=true, form_code=null, task_code=null)

Generates a report from a form

Input Parameters

conditionreference or booleanTo be true to generate the report
form_codestring or nullA form code to find the form or null for the current form
task_codestring or nullA task code of the task in which find the form or null for the current task

Execution

on form close (by default)

Examples

FORM_REPORT($1)
generates a report for the current form if the reference $1 is equal to 1 or true 

FORM_REPORT(true, "F3", "SPIRO")
generates, always, a report for the form with form code F3 in the task with task code SPIRO