I have a form that collects user input to be used for producing a report. When the "Print" button is clicked, I want to call an external program to print the requested report. How do I pass parameters to and receive parameters in the print program?
Code:
** Call report program from click event
parm1 = ThisForm.field1.Value
parm2 = ThisForm.field2.Value
DO report_program WITH parm1, parm2
** Report Program
PROCEDURE report_program
PARAMETERS parm1, parm2
[\code]
Thanks!