Re: Problem calling Reportwriter

From: Prasad Chavali <pchavali_at_assettech.com>
Date: Thu, 24 Sep 1998 09:18:33 -0700
Message-ID: <6udr7h$f36$1_at_nnrp02.primenet.com>


Your syntax
 add_parameter(pl_id, 'PARAMFORM', text_parameter, 'NO'); works fine for us. Could it be the extra single quote before the TEXT??

>Add_Parameter (pl_id, 'PARAMFORM','(???)TEXT_PARAMETER,'NO');

HTH Prasad Chavali
pchavali_at_assettech.com

Don Haney wrote in message <36094F71.972D9434_at_ornl.gov>...
>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');
>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 Thu Sep 24 1998 - 18:18:33 CEST

Original text of this message