clrblue Posted August 7, 2002 Posted August 7, 2002 Without an EOF or a Loop...Until construction or a For loop, I am unsure as to how to create a script so that it runs until it has applied it's results to each & every record in the db. Any help would be appreciated. TIA, KC
falkaholic Posted August 7, 2002 Posted August 7, 2002 Without a loop??? Hmm. If you only have one record you don't need a loop...
trevorg Posted August 7, 2002 Posted August 7, 2002 Use the "Go to next record/request/page" and be sure to set the "Exit After Last" option. This will exit the loop. There is also and Exit Loop If statement if you need to exit the loop not based on record processing, but by criteria processing.
trevorg Posted August 7, 2002 Posted August 7, 2002 I've used loops on single records. It's one way of making sure that the user puts a correct value, choice, or other sort of validation. They can't get out of the loop until all the criteria is met.
Newbies keda Posted August 15, 2002 Newbies Posted August 15, 2002 You could always make a script that runs itself until a criteria is met... (Script name = Checked) Enter find Mode[] Set Field["Control", "Checked"""] Omit Record Perform Find [Replace Found Set] If["Status(CurrentFoundCount)<1"] Halt Script End If Set Field["Control", "Checked"""] Perform Script[sub-scripts,"Checked"] /Keda
Newbies keda Posted August 15, 2002 Newbies Posted August 15, 2002 You could always make a script that runs itself until a criteria is met... (Script name = Checked) Enter find Mode[] Set Field["Control", "Checked"""] Omit Record Perform Find [Replace Found Set] If["Status(CurrentFoundCount)>0"] Halt Script End If Set Field["Control", "Checked"""] Perform Script[sub-scripts,"Checked"] /Keda
Recommended Posts
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