Share via


FormRun.send Method

Prints an automatic report from the contents of a form.

Syntax

public void send()

Run On

Client

Remarks

To override this method on a form, right-click the Methods node below the form, click Override Method, and then click Send.

For information about best practices for forms and code, see No Code in Forms.

Examples

The following examples shows a call to the send method.

void runForm(Form form) 
{ 
    Args args; 
    FormRun formRun; 
  
    args = new Args(); 
    args.object(form); 
 
    // Create the run-time form. 
    formRun = classfactory.formRunClass(args); 
 
    formRun.run(); 
    formRun.detach(); 
    formRun.send(); 
}

See Also

FormRun Class

FormRun.print Method

Implementing Automatic Reports for Forms