Home » Developer & Programmer » Reports & Discoverer » Print Current Vouchers (Report 6i, Oracle 10G)
Print Current Vouchers [message #682223] Sat, 10 October 2020 23:52 Go to next message
shahzad-ul-hasan
Messages: 566
Registered: August 2002
Senior Member
Dear sir,
please see the attached file.
/foru/forum/fa/14401/0/
i want to print the voucher when user click on print button without using parameter form. if user click on button and cursor is in July. the July voucher should be print. if the cursor is in September then user click on print.it should print September voucher please advised.
  • Attachment: 367.jpg
    (Size: 57.64KB, Downloaded 29 times)
Re: Print Current Vouchers [message #682226 is a reply to message #682223] Sun, 11 October 2020 06:50 Go to previous message
shahzad-ul-hasan
Messages: 566
Registered: August 2002
Senior Member

declare
plist Paramlist;
begin
plist := create_parameter_list('SLCL');
add_parameter(plist,'STC',text_parameter,:fees.stuid);
add_parameter(plist,'FMON',text_parameter,:fmonth);
add_parameter(plist,'TMON',text_parameter,:tmonth);
add_parameter(plist,'YY',text_parameter,:fyear);
--add_parameter(plist,'ZZ',text_parameter,:fyear);
add_parameter(plist,'paramform',text_parameter,'NO');
--add_parameter(plist,'destype',text_parameter,'PRINTER');
Run_Product(REPORTS, 'd:\bil\reports\challan1.REP', aSYNCHRONOUS, RUNTIME,
FILESYSTEM, plist);
destroy_parameter_list(plist);
end;
Done
Previous Topic: Send report directly to network printer
Next Topic: Printing Report on Printer
Goto Forum:
  


Current Time: Tue Dec 01 02:43:58 CST 2020