barcode label

jgalan
Member Posts: 8
Hi everybody,
I need to print barcode labels in 3 diferent scenarios: Posted Sales Shipments, Posted Purchase Receipts and Posted Purchase Invoices. Basically, the data to print into the label is the primary key of each table. I have already done it in 3 reports, one per table, and everything works fine.
Now, due to license restrictions, I've to print the 3 values within a single report. I though that the best solution was to create a new report, based on a single dataitem of type Integer with Maxiteration=1 (just 1 label needed each time). My intention was to pass as a parameter the value to print, something like this:
//External call to the report
myreport.SetParams("No.");
myreport.RUN;
//inside the report
SetParams(pDataToPrint)
DataToPrint:=pDataToPrint; //DataToPrint is a global var
I've checked if DataToPrint is properly initilized and it is, but when I try to display
its value in the body section of the Integer dataitem, I only get an empty print preview.
What I do wrong?
Any help will be apreciated.
Thanks in advance,
JGalan
I need to print barcode labels in 3 diferent scenarios: Posted Sales Shipments, Posted Purchase Receipts and Posted Purchase Invoices. Basically, the data to print into the label is the primary key of each table. I have already done it in 3 reports, one per table, and everything works fine.
Now, due to license restrictions, I've to print the 3 values within a single report. I though that the best solution was to create a new report, based on a single dataitem of type Integer with Maxiteration=1 (just 1 label needed each time). My intention was to pass as a parameter the value to print, something like this:
//External call to the report
myreport.SetParams("No.");
myreport.RUN;
//inside the report
SetParams(pDataToPrint)
DataToPrint:=pDataToPrint; //DataToPrint is a global var
I've checked if DataToPrint is properly initilized and it is, but when I try to display
its value in the body section of the Integer dataitem, I only get an empty print preview.
What I do wrong?
Any help will be apreciated.
Thanks in advance,
JGalan
0
Comments
-
Hello again,
I've found the solution to my previous post.
In fact, It was trivial: I'm using a user defined paper size,
according to the label size and the margins of the report were too big.
I've set to zero the top, bottom, left and right margins and now
everything is okay
](*,)
Best regards,
JGalan0
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