Krishan Posted May 20, 2001 Posted May 20, 2001 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!
BobWeaver Posted May 20, 2001 Posted May 20, 2001 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
wildsicilian Posted May 29, 2001 Posted May 29, 2001 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
Recommended Posts
This topic is 8583 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now