Print severalcopies of the same document

sliew
Member Posts: 31
HI,
I would like to print several copies of a document wihout asking the user to enter the number of copies.
Is there a way to set up the no of copies to be printed while calling the REPORT.RUNMODAL....?
<img border="0" title="" alt="[Confused]" src="images/smiles/icon_confused.gif" />
SL.
I would like to print several copies of a document wihout asking the user to enter the number of copies.
Is there a way to set up the no of copies to be printed while calling the REPORT.RUNMODAL....?
<img border="0" title="" alt="[Confused]" src="images/smiles/icon_confused.gif" />
SL.
0
Comments
-
Hi Luc,
Is there a parameter that I can set before running the Report. Or shall I run the report n times?
Please advise
SL.0 -
You need to create a function in the report that accepts a integer. In your report, you use a Integer Dataitem with SETRANGE(Number,1,intYourVar). Look in eg. report 206 how Navision does it for the Invoice report.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
Hi Luc,
Unfortunately, I don't have the Report 206 in my Navision Financial. Strange. Does the NF Package comes with this Report?
SL.0 -
Yes, it should in the Standard package. alternatively you can see it in 204-208 and 404-408.
Hopefully you'll have one of these.Don't just take my word for it, test it yourself0 -
No I don't have them.
Shall I request them from where I bought the Package?
SL.0 -
You can create a function in your report that accepts one parameter, namely the No. of copies. Then you declare a variable pointing to your report. Before you run your report (using the variable), you can execute your function and pass the No. of copies.
Or you can write to a table the No. of copies, run your report, and at the beginning of your report you read from that table the required No.
Hope this make sense.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions