Home » Developer & Programmer » Forms » Developer 9i code problem
Developer 9i code problem [message #260559] Mon, 20 August 2007 05:22 Go to next message
oracleproblem
Messages: 47
Registered: May 2006
Location: Dhaka
Member
Dear all,
my problem perametalized report call in form level,

my code is here
***********************Delelover6i this code is ok----------
DECLARE
pl_id ParamList;

BEGIN
pl_id := Get_Parameter_List('tmpdata');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('tmpdata');

Add_Parameter(pl_id,'P_1',TEXT_PARAMETER,:SELECT.SOLD_DATE);

Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
Run_Product(REPORTS, 'C:\Latestversion\Report\carinforeport', SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_id, NULL);

END;
****************************But 9i This code occur a error----
FRM-41842:RUN_PRODUCT(REPORTS)is no longer supported,use_run_report_Object instead...

Please help me ..........

Raihan(BRACBANK.LTD,BANDLADESH).
Re: Developer 9i code problem [message #260564 is a reply to message #260559] Mon, 20 August 2007 05:30 Go to previous messageGo to next message
sispk6
Messages: 164
Registered: November 2006
Location: pakistan
Senior Member
SIMPLE,
RUN_PRODUCT() IS NOT SUPPORTED FORMS 9I, AND LATER,
USE RUN_REPORT_OBJECT
Re: Developer 9i code problem [message #260785 is a reply to message #260564] Mon, 20 August 2007 22:46 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Please search this forum for 'web.show_document' it is an order of magnitude better that 'run_report_object'.

David
Previous Topic: Insert thru Forms6i
Next Topic: Forms 6i - integrity constraint error
Goto Forum:
  


Current Time: Fri Sep 27 04:22:33 CDT 2024