August 7, 200223 yr 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
August 7, 200223 yr 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.
August 7, 200223 yr 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.
August 15, 200223 yr Newbies 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
August 15, 200223 yr Newbies 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
Create an account or sign in to comment