Home » Developer & Programmer » Reports & Discoverer » Printing option in report (Report bulider 10 g)
Printing option in report [message #473437] Sat, 28 August 2010 05:38 Go to next message
Amar_bu
Messages: 32
Registered: July 2010
Location: riyadh
Member
In report builder, how could i specify that if i print the report for second time the report builder should write draft
Re: Printing option in report [message #473460 is a reply to message #473437] Sat, 28 August 2010 09:03 Go to previous messageGo to next message
ranamirfan
Messages: 535
Registered: January 2006
Location: Pakistan / Saudi Arabia
Senior Member

As my Understanding.

1- Add one column in Database
Print_Job char(2).

2- Update it through After Report Trigger (FR - Sc) Against Each Session User

3- Write Code Behind a Button
Check it Against Each Session User - It is First Time or Second time print and Validate it.


Hope you'll Get Idea.

Regards,

Irfan
Re: Printing option in report [message #473470 is a reply to message #473460] Sat, 28 August 2010 14:42 Go to previous messageGo to next message
Amar_bu
Messages: 32
Registered: July 2010
Location: riyadh
Member
Thanks..but the problem that i could not edit the database
Re: Printing option in report [message #473473 is a reply to message #473470] Sat, 28 August 2010 17:31 Go to previous messageGo to next message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
Then you can't do this.
If you don't store in the db whether or not you've run the report, how are you going to know you're running it for a second time?
Re: Printing option in report [message #473486 is a reply to message #473473] Sun, 29 August 2010 03:27 Go to previous messageGo to next message
ranamirfan
Messages: 535
Registered: January 2006
Location: Pakistan / Saudi Arabia
Senior Member

As said cookiemonster Then you can't do this.

If you 've business needs then talk to your DBA regarding this Issue.

[EDITED by LF: removed invalid quote tags]

[Updated on: Sun, 29 August 2010 15:14] by Moderator

Report message to a moderator

Re: Printing option in report [message #473487 is a reply to message #473486] Sun, 29 August 2010 03:40 Go to previous messageGo to next message
Amar_bu
Messages: 32
Registered: July 2010
Location: riyadh
Member
Even If I am using Oracle ERP
Re: Printing option in report [message #473702 is a reply to message #473487] Tue, 31 August 2010 04:40 Go to previous messageGo to next message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
I don't know anything about ERP but the basic point stands:
If you can't record the fact that you've run the report somewhere you can't do this.
Re: Printing option in report [message #473843 is a reply to message #473702] Wed, 01 September 2010 01:50 Go to previous messageGo to next message
Amar_bu
Messages: 32
Registered: July 2010
Location: riyadh
Member
I asked DBA to add the column for me.
He added print date column and i check it if it is null nothing will be done while if it is not not null draft word will be printed.

Another question if I want draft word to be printed in the background and i do not want other object to move with it when i run the report.what properties for draft text i should change?
Thanks
Re: Printing option in report [message #494193 is a reply to message #473843] Fri, 11 February 2011 12:44 Go to previous messageGo to next message
anwar0302
Messages: 8
Registered: February 2011
Location: Dhaka
Junior Member
can u post your AFTER REPORT trigger code here?
Re: Printing option in report [message #494195 is a reply to message #494193] Fri, 11 February 2011 12:47 Go to previous message
anwar0302
Messages: 8
Registered: February 2011
Location: Dhaka
Junior Member
@ Ranamirfan, can u show me an example code to implement your suggestion
Previous Topic: Can I add a custom code on Printing
Next Topic: Rpt2Xls Cell Merge and Center
Goto Forum:
  


Current Time: Fri Apr 26 06:10:57 CDT 2024