If there is no CastIterator {} value through if statement

Log Message: Object reference not set to an instance of an object.

If an error occurs and the value is entered, if there is no else, I just try to escape to then… But it keeps falling into else. Please help.

Hi @111398

Could you try to check if the value exists with this instead:

IsNothing(enmMatch)