I'm a bit confuse with $ctr$var70 in your setfield statement.
Set field [dataentry::employee_g; getrepetition9dataentry::EmployeeS#; $ctr$var70]
I'll assume it's a typo.
So it seems like your variables should be set as
set variable [$ctr; value:10] - you want to start with rep 11
set variable [$max; value 15] - and exit loop at rep 15
Yes it was a typo
Thank you for teaching me about the set variable
However, when I run the script it goes to the layout and prints it (several times) but it leaves the Employee_g field blank (or employee name) blank
nevermind found the mistake thank you for all of your help