Hey guys,
when i print my report i want that on the header show Original, Duplicate and Triplicate but i dont have idea how do i can make that.
I tried on DataItem put Integer and then make a code that Set´s the range of number of 1 to 3 and then write the following code on the onaftergetrecords:
IF Number = 1 Then
CopyText := 'Original'
But it keeps showing the numbers instead of the Original text .
Thank you all !
0
Answers
Your idea (using a Dataitem as Integer) is right, in fact, I have seen that is done by standard code, but I don't understand why shows to you a number, are you showing the copytext var? Have in account, in each step of dataitem Integer, NAV pass to next record on a table Number (on this case from 1 until 3), whereby your IF statement is right, but if you don't clean that var, text is shown in all pages like 'Original'. Is NAV showing the numbers on the layout?
Regards