May 20, 200124 yr Hello. I would be grateful if someone could please help me.... I have a database called "Users.fp5" and in ScriptMaker I have a script called "TimeIn", which only works for the current record. How do I use ScriptMaker to repeat that script for all the records in my database? Is there some way of saying "perform script for all records"? Thank you for all your help!
May 20, 200124 yr Depending on what exactly you are doing, you can either use the replace command to set the value of a field in all records at once with the result of a calculation, or you can put a loop in your script. The loop is more general so that's what I'll describe. The script steps are as follows: code: Go to Record/Request[first] Loop # Put your existing script steps # that operate on the current record here . . . # Now go to the next record and repeat Go to Record/Request[next][exit after last] End loop
May 29, 200124 yr Whether you use the "Replace" command or the loop, make sure you have "Find All" script step before the "Replace" or "Loop"; otherwise, you will only perform the actions on the current found set. Good Luck
Create an account or sign in to comment