Report does not display records that are received at pageloop

Damjan
Member Posts: 94
Hi All,
I am designing report in RDLC where I need to display each record that is found as new page in report layout.
Issue:
There is always same record (first found record) displayed in the report layout, but code gets correct number of employees that are set in the filter.
This is just an example:

- DataItem CopyLoop -> should be used for printing multiple page at once - copy of page; which I do not really need.
- DataItem PageLoop -> should be used for printing new page as next employee record is received.
Code of object:
- I think I do not need to use PageGroupNo nor NexPageGroupNo in version NAV2013 R2, so I commented that part of the code. If I uncomment it and run the report, there is no different at report output.


RDLC report design:
- List is added and inside that list I have added a table where data should be displayed

Report is loaded with 4 pages as expected, because 4 records with current filters are found in table Employee, just displayed data is always the first found record

Thank you
BR Damjan
I am designing report in RDLC where I need to display each record that is found as new page in report layout.
Issue:
There is always same record (first found record) displayed in the report layout, but code gets correct number of employees that are set in the filter.
This is just an example:

- DataItem CopyLoop -> should be used for printing multiple page at once - copy of page; which I do not really need.
- DataItem PageLoop -> should be used for printing new page as next employee record is received.
Code of object:
- I think I do not need to use PageGroupNo nor NexPageGroupNo in version NAV2013 R2, so I commented that part of the code. If I uncomment it and run the report, there is no different at report output.


RDLC report design:
- List is added and inside that list I have added a table where data should be displayed

Report is loaded with 4 pages as expected, because 4 records with current filters are found in table Employee, just displayed data is always the first found record

Thank you
BR Damjan
0
Best Answer
-
Hi Damjan,
could you show us the expressions used in report layout?
I think you may have included the "First(...)" function, which takes the actual first record of a dataset like a FINDFIRST used on the table in C/AL.0
Answers
-
Hi Damjan,
could you show us the expressions used in report layout?
I think you may have included the "First(...)" function, which takes the actual first record of a dataset like a FINDFIRST used on the table in C/AL.0 -
Hi,
I cant believe this:)
I didn;t even put any attention to the expressions.
I check the report 206 and changed expression accordingly.
Thank you0
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