July 22, 200421 yr 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.
July 22, 200421 yr Yep! The screen shot is too small to read so FMP can't tell when to go. (Probably from Qld!)
July 22, 200421 yr Now I'll try to be helpful - watch out! Don't you need to store "Last error" somewhere in case it changes?
July 22, 200421 yr Author 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.
July 22, 200421 yr 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.
July 22, 200421 yr 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...
July 26, 200421 yr Vaughan, how do I get a copy? Forget the FMP stuff. Apologies to AJ for the geographical insult.
Create an account or sign in to comment