الانتقال إلى المحتوى

How To Run Report From Form In A New File


ordy1984

Recommended Posts

how can i run a report from the form by parameter and each time the parameter has a new value and


yield a new report result
each result was in a separated file .

how can i specify that the output in a separated file and open this file at the same time

رابط هذا التعليق
شارك

i have a report that query the data from emp table (select ename from emp where deptno = :dept_id) :dept_id is the parameter



i make a form on the dept table

and make a button to call the report with the selected department (by passing the deptno from the form)

i want that for each time i run the report , a new file generated in the folder and open it at the same time

(the default when i run the report , the file replaced with the new file, and i don't want that)

quickly please

thank you

رابط هذا التعليق
شارك

if :PROJECT_NAME is null then
message('you must select CONTRACT number to show report');
message('you must select CONTRACT number to show report');
else
declare
  pl paramlist;
 begin PL:=create_parameter_List('Par_cont');
   Add_Parameter(PL, 'MAXIMIZE', TEXT_PARAMETER, 'YES');
   add_parameter(PL,'Par_cont',text_parameter,:CON_NUMBER);
   add_parameter(PL,'PARAMFORM',text_parameter,'no');
   Run_product(Reports,'CONTRACTs2.rep',asynchronous,RunTime,FileSystem,pl);
   Destroy_Parameter_List(PL);  
 end;

end if;

'CONTRACTs2.rep' = report name
'Par_cont' = Prameter name
:CON_NUMBER = Prameter  sours

رابط هذا التعليق
شارك

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

جاري التحميل
×
×
  • أضف...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية