Aussie John Posted July 22, 2004 Posted July 22, 2004 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.
Oldfogey Posted July 22, 2004 Posted July 22, 2004 Yep! The screen shot is too small to read so FMP can't tell when to go. (Probably from Qld!)
Oldfogey Posted July 22, 2004 Posted July 22, 2004 Now I'll try to be helpful - watch out! Don't you need to store "Last error" somewhere in case it changes?
Aussie John Posted July 22, 2004 Author Posted July 22, 2004 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.
-Queue- Posted July 22, 2004 Posted July 22, 2004 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.
Vaughan Posted July 22, 2004 Posted July 22, 2004 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...
Aussie John Posted July 23, 2004 Author Posted July 23, 2004 excellent Vaughan (and im not from QLD btw )
Oldfogey Posted July 26, 2004 Posted July 26, 2004 Vaughan, how do I get a copy? Forget the FMP stuff. Apologies to AJ for the geographical insult.
kiwiora Posted July 27, 2004 Posted July 27, 2004 A copy of the image fogey? Right click on the image and choose "save picture as"
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now