Re: RUN_PRODUCT with Developer2000/ R2.0 & R2.1

From: Nicky Taylor <nicky.taylor_at_gecm.com>
Date: Thu, 07 Jan 1999 08:53:49 +0000
Message-ID: <3694761D.17B3_at_gecm.com>


Hi

I have experienced exactly the same problem and I got round it by doing the following:-

  1. create a parameter list
  2. add a parameter to the list for DEST_TYPE (destination of report)
  3. pass parameter list in with call to RUN_PRODUCT

declare
...

  rep_params paramlist;
...

begin
...

  rep_params := Create_Parameter_List('rep_params');
  Add_Parameter(rep_params, 'DES_TYPE', TEXT_PARAMETER, 'Screen');
  RUN_PRODUCT(REPORTS, 'c:\my_report', SYNCHRONOUS, RUNTIME, FILESYSTEM,
rep_params, NULL);
...

end;

This should help! Received on Thu Jan 07 1999 - 09:53:49 CET

Original text of this message