Jump to content

skip record if being modified.


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

Recommended Posts

Use the "Set Error Capture [on]" step at the beginning of your script and then in your loop check for Status(CurrentError)=301 which indicates a locked record.

Actually, if Error Capture is on, then any locked records will automatically be skipped with no warning. So, depending on what you are doing, you may not need the CurrentError test.

Link to comment
Share on other sites

I should just add that the Error status should be checked immediately after performing a step that attempts to modify the record, or enters a field. It isn't enough just to go to the record. Something like:

code:


Loop

Go to Field [Myfield, select]

If [status(CurrentError)=301]

# Take whatever action required for locked record

.

.

.

Else

# Record not locked, so continue

.

.

.

End If

Go to Record/Request[next, exit after last]

End Loop


[ January 07, 2002: Message edited by: BobWeaver ]

Link to comment
Share on other sites

This topic is 7227 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.