Jump to content

Looping Until It's Been Applied to All Records?


This topic is 6685 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to post
Share on other sites

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.

Link to post
Share on other sites
  • 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

Link to post
Share on other sites
  • 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

Link to post
Share on other sites

This topic is 6685 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.