jrenfrew

Error not being captured

Discussion created by jrenfrew on Jun 18, 2016
Latest reply on May 9, 2017 by TSGal

FMPA15

OSX10.11

 

Copied a script from one file to another which the same table name but one of the fields I know to be missing.

I expected to see:

Go To Field ( TableName::<field missing> )

 

But what I did not expect that a test I had in the other if the field was on the layout now fails completely and no error is caught - therefore my next piece of logic fails too.

The Get ( LastError ) here returns 0 - which should not be the case.

 

Screen Shot 2016-06-18 at 14.11.15.png

Outcomes