Issue with multiply selected reports
Hornsyld
Member Posts: 6
Hi,
Working on a report where some fields have a 'Eksternal Doc No.'
If i select 3 reports where 1 of them got a 'Eksternal Doc No' and the 2 others have empty fields and press print.
The report will make a pdf with all 3 reports included, but will write the eksternal doc no on all of them even trough they dont have a eksternal doc no.
I know this takes the first, so ofc this is the problem, but how do you do it the right way?
Working on a report where some fields have a 'Eksternal Doc No.'
If i select 3 reports where 1 of them got a 'Eksternal Doc No' and the 2 others have empty fields and press print.
The report will make a pdf with all 3 reports included, but will write the eksternal doc no on all of them even trough they dont have a eksternal doc no.
=First(Fields!EksternalDocumentNo_SalesInvoiceHeader.Value, "DataSet_Result")
I know this takes the first, so ofc this is the problem, but how do you do it the right way?
0
Best Answer
-
Hi,
Its seems to be a custom Report and the Field seems to be a part of Page Header in Design and have expression as you specified insted of Code.GetData() .
Refer to the standard Report how Field on Header get value from Body. Its actually get First of the Record if the Report is designed correctly.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page5
Answers
-
Hi,
Its seems to be a custom Report and the Field seems to be a part of Page Header in Design and have expression as you specified insted of Code.GetData() .
Refer to the standard Report how Field on Header get value from Body. Its actually get First of the Record if the Report is designed correctly.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page5 -
Hi Postsaurav,
That is correct - its a custom report and a part of the Page header.
So you are saying that the right way is to use Code.GetData() ?
In that case - How do find out which dataset and a position i have to use to get the EksternalDocumentNo_SalesInvoiceHeader?0 -
0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

https://www.youtube.com/watch?v=dievcKyhoWU