Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi Im having trouble exiting my loop. Can any one help?

I am trying to create an entry which ISN'T one a value list that is assigned to that same global field. (gDuplicate Section Check)

please see the attachment for screen shot of scripting window.

loop.jpg

Posted

well yes the screen is hard to read but looks fine if you download it.

I'll look at storing the error code and see if that makes a difference. I assumed the error code stayed until it was replaced by something by another one.

Posted

FM Help says, Get(LastError) "returns a number representing the error, if any, in the execution of the most recently executed script step." So each script step updates the LastError. If you run, say,

Export Records

Loop

If [Get(LastError)]

there should never be an error since the Loop step produces no error. So you would want to capture the error in a global immediately following the Export step.

Posted

I found this yesterday, on a Canadian web page about Aussie beer... it's got nothing to do with your problem but might help explain OldFogie's post above...

xxxxad.jpg

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