AnsweredAssumed Answered

Script help

Question asked by Thicks on Mar 3, 2009
Latest reply on Mar 3, 2009 by Thicks

Title

Script help

Post

I have written the following script but it is not working correctly I need to modify it so that it only grabs my Employee_g repititions 11-15> I think I need to change the set varible. Please help if you can

 

Set Error capture [on]

Allow User Abort [off]

set variable [$ctr; value:0]

set variable [$max; value10]

 

loop

 

set variable [$ctr; value$ctr+1]

 

Set field [dataentry::employee_g; getrepetition9dataentry::EmployeeS#; $ctr$var70]

 

If [dataentry::employee_g]

 

go to layout ["BcaseRespondentsLetter"(dataentry)]

 

Print setup

print

 

goto layout [original layout]

 

end if

 

exit loop if [$ctr=$max]

 

end loop

Outcomes