Home » Developer & Programmer » Reports & Discoverer » runproduct
runproduct [message #115397] Mon, 11 April 2005 05:36 Go to next message
dassudip
Messages: 22
Registered: February 2005
Location: Delhi
Junior Member

Hi,
Please let me know the use of synchronous parameter in runproduct command.
Re: runproduct [message #115415 is a reply to message #115397] Mon, 11 April 2005 08:16 Go to previous message
Steve Corey
Messages: 336
Registered: February 2005
Location: RI
Senior Member
As per the Forms 6i Help :

com-mode:

Specifies the communication mode to be used when running the called product. Valid numeric constants for this parameter are SYNCHRONOUS and ASYNCHRONOUS.

SYNCHRONOUS specifies that control returns to Form Builder only after the called product has been exited. The end user cannot work in the form while the called product is running.

ASYNCHRONOUS specifies that control returns to the calling application immediately, even if the called application has not completed its display.

Meaning: If you are calling a report from Forms and you do not want the user messing around with any settings in the Form while the report is running, you would set the com-mode to SYNCHRONOUS. If you want the user to be able to interact with the Form while the report is running, set the com-mode to ASYNCHRNOUS.

HTH,
Steve

Previous Topic: can we use first_record and next_record in reports
Next Topic: Report Didn't show up in Acrabat, PDF file
Goto Forum:
  


Current Time: Fri May 17 00:13:41 CDT 2024