Jump to content

Exit loop when get to last record


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

Recommended Posts

Hi, how can Exit Loop when I get to the last record? (see below script step after ***"stars"***)

Thanks in advance!

blush.gif

Go to Layout [ Form ]

Go to Record/Request/Page[ First ]

Loop

Insert Text [ Package code, "package" ][ Select entire contents ]

Go to Record/Request/Page[ Next ]

Exit Loop If [***"Next Record = Last Record"***]

End Loop

Link to comment
Share on other sites

You're gonna love this...

Go to Record/Request [ Next, exit after last record ]

Yep, it's an option! No need for an Exit Loop If step. Of course, if you'd rather an Exit Loop If you'd use

Exit Loop If [ Status(CurrentRecordNumber) = Status(CurrentFoundCount) ]

Link to comment
Share on other sites

This topic is 6525 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
 Share

×
×
  • Create New...

Important Information

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