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
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