Home » Developer & Programmer » Forms » Graphics from Forms6i
Graphics from Forms6i [message #83029] Mon, 28 July 2003 01:23 Go to next message
Qavi
Messages: 24
Registered: August 2002
Junior Member
Hello Experts,
i want to call a Graphic ( Chart item ) from Forms6i , i have 2 paramters dt1 and dt2 created in graphics , in between these dates i want to populate the sales figure in the Chart by passing parameters from forms to graphics,please help me it doesnt works

Thx in Advance
Qavi

declare
pl_id ParamList;
pl_name VARCHAR2(10) := 'tempdata';
BEGIN
pl_id := Get_Parameter_List(pl_name);
if not Id_Null(pl_id) then
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List(pl_name);
Add_Parameter(pl_id,'dt1',TEXT_PARAMETER,to_char(:date1,'DDMMYYYY'));
Add_Parameter(pl_id,'dt2',TEXT_PARAMETER,to_char(:date2,'DDMMYYYY'));
Run_Product(graphics,'C:Galdisp3.ogd',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl_id,NULL);
END;
Re: Graphics from Forms6i [message #83031 is a reply to message #83029] Mon, 28 July 2003 07:26 Go to previous message
utsav
Messages: 94
Registered: March 2003
Member
Hi Qavi,
You have a graphics item disp3.ogd.You are calling it from forms using the text parameter value of dates.
My suggestion would be to use the data paramater.
Create a record group for the query and pass that record group to the graphics item.
The result will vary as the dates will.
The dates will be supplieed to the record group.
Try it this way.
In case of problems please let me know.

Utsav.
Previous Topic: serial no
Next Topic: Re: Free Developer/2000 Tutorial
Goto Forum:
  


Current Time: Fri Apr 26 12:40:12 CDT 2024