Re: Disabling Runtime Parameter form in Reports

From: Nicky Taylor <nicky.taylor_at_gecm.com>
Date: Thu, 05 Nov 1998 13:14:22 +0000
Message-ID: <3641A4AE.33CA_at_gecm.com>


When calling a report with RUN_PRODUCT the fact that you have unchecked the Parameter Form option in Reports Designer isn't enough to tell Reports Runtime not to display a Parameter Form. What you need to do is pass the DESTYPE and PARAMFORM parameters in with the RUN_PRODUCT call to tell Reports where to send the report output and whether you want a Parameter Form or not. An example of this is...

declare

   rep_params ParamList;

begin

   rep_params := Get_Parameter_List('rep_params');    IF NOT Id_Null(rep_params) THEN

      Destroy_Parameter_List(rep_params);    END IF;

   rep_params := create_parameter_list('rep_params');
   add_parameter(rep_params, 'DESTYPE', TEXT_PARAMETER, 'Screen');
   add_parameter(rep_params, 'PARAMFORM', TEXT_PARAMETER, 'no');
   RUN_PRODUCT(REPORTS, <report_name>, ASYNCHRONOUS, RUNTIME,
FILESYSTEM, rep_params, null);

   destroy_parameter_list(rep_params);
end; Received on Thu Nov 05 1998 - 14:14:22 CET

Original text of this message