Home » Developer & Programmer » Forms » Forms6i - How to dynamically change name of Report run from Forms
Forms6i - How to dynamically change name of Report run from Forms [message #84444] Tue, 16 March 2004 10:59 Go to next message
Fred
Messages: 34
Registered: August 1999
Member
I have helped in trying to convert from forms 3.0 to forms 6i.  The forms I am dealing with used to be able to modify the printer queue name for each file but does not work anymore.  In fact it comes up with a T01340065 type number for the print queue job name once in a while (instead of ARCSHED2).  We print several different invoices using the same report file, but at the printer we need to know which color invoice we need to use.  Any ideas on how to do this?  Is there a report name parameter I can change on the fly?

Code used is...

if not Id_Null(pl) then
     Destroy_Parameter_List(Pl);
   end if;
   Pl := Create_Parameter_List('tmpData');
   Add_Parameter(Pl, 'PF_CO', TEXT_PARAMETER, CO_TEMP);
   Add_Parameter(Pl, 'P_RUN_DATE', TEXT_PARAMETER, :TODAYS_DATE);
   Add_Parameter(Pl, 'PARAMFORM', TEXT_PARAMETER,'NO');
   Add_Parameter(Pl, 'DESTYPE', TEXT_PARAMETER,'PRINTER');
   Add_Parameter(Pl, 'DESFORMAT', TEXT_PARAMETER,'WIDE180');
   Add_Parameter(Pl, 'BATCH', TEXT_PARAMETER,'YES');
   Add_Parameter(Pl, 'MODE', TEXT_PARAMETER,'CHARACTER');
--   Add_Parameter(Pl, 'PAGESIZE', TEXT_PARAMETER,'14X11');
   Add_Parameter(Pl, 'BACKGROUND', TEXT_PARAMETER,'YES');
   Add_Parameter(Pl, 'Name', TEXT_PARAMETER,'CASHEDIT');
   Run_Product(REPORTS,'ARCSHED2',SYNCHRONOUS,RUNTIME,FILESYSTEM, pl, null);
   MESSAGE ('Cash Report Complete ...', NO_ACKNOWLEDGE);

 
Re: Forms6i - How to dynamically change name of Report run from Forms [message #85913 is a reply to message #84444] Wed, 11 August 2004 03:08 Go to previous message
atul Chitnis
Messages: 1
Registered: August 2004
Junior Member
'Forms6i - How to dynamically change name of Report run from Forms'
Previous Topic: running application on a terminal server
Next Topic: Multi line alert message
Goto Forum:
  


Current Time: Wed May 15 13:44:21 CDT 2024