I have created a simple loop script, which works fine, however, only the first time that it is run!
I have a table students and a layout “temporary pass”, which is in the context of students too.
So, I perform a find in Students, I do this manually as the found set could be based on different criteria in the student table and run the script for the first time.
All is great, it goes to the Temporary pass layout and then prints them one by one as per the found set.
The problem is that if I subsequently make another manual find in the Student layout then run the script all it does is print a single temporary pass (record) and that will be from the original find.
It’s only me that uses the database; I’d sooner just do a manual find and then run the script.
I’m a bit baffled, I am sure some clever soul might point me in the right direction.
FMP 14 Pro Advanced
Thank you in advance,
Baffled of Blighty