Hi,
I use RecRef type to show date on report (navision 2016). The code is:
OnPreReport()
RecRefe.OPEN(50000);
FieldRef:=RecRefe.FIELD(4);
IF RecRefe.FINDFIRST THEN
REPEAT
EmployeeNo:=FieldRef.VALUE;
UNTIL RecRefeR.NEXT=0;
When I show EmployeeNo on report I only get the last value, but I need list of all employees. How to solve this?
Best regards
0
Answers
If you do so, you don't need a loop anymore. Your DataItem will be looped anyway.
add needed fields as columns under that dataitem.
set needed report layout to display the values.
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/
See https://forum.mibuso.com/discussion/69464
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!