Problem calling Reportwriter

From: Don Haney <hey_at_ornl.gov>
Date: Wed, 23 Sep 1998 14:43:45 -0400
Message-ID: <36094F71.972D9434_at_ornl.gov>



[Quoted] I'm currently using Developer 2000 Release 2.1, Forms version 5.0, Reportwriter version 3.0 on a PC environment with Windows 95.

I've built a trigger that will capture the current contents of a block, build a record group and pass that record group to a developed report to replace the query of the report. This works fine and the output is almost perfect (but that may be another post, later).

My customer would like an intermediate form displaying push buttons to represent the different destinations (File, Printer, Screen) and would not like to see the parameter form from the Reportwriter. I've created this print options form and removed any parameter screen information from my report, but every time the RUN_PRODUCT builtin is run, the parameter form comes up.

Here is the relevant code that is being executed:

pl_id := Create_Parameter_List ('subrep');

Add_Parameter (pl_id, 'BEWPSIGN_Q1', DATA_PARAMETER, 'print_group');
[Quoted] Add_Parameter (pl_id, 'PARAMFORM','TEXT_PARAMETER,'NO');
Add_Parameter (pl_id, 'DESTYPE',TEXT_PARAMETER,'FILE');
Add_Parameter (pl_id, 'DESNAME',TEXT_PARAMETER, 'BEWSIGN_QA');

RUN_PRODUCT (REPORTS, 'test_bewpqa',SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);

where BEWPSIGN_Q1 is the name of the query being replaced

          BEWSIGN_QA is the name of the output file

Does anyone have any suggestions as to how to avoid the default parameter form or override its values?

Thanks,

Don Haney Received on Wed Sep 23 1998 - 20:43:45 CEST

Original text of this message