>
> If SET ERROR MESS #### ON is run won't the error variable be for that
> command?

  Yes.  That is the reason for the intermediate variable vHoldErr, to catch the 
value of vERR before any Other command causes the error value to be set to that 
actions result.


> Regards,
> Alastair.

>> Even with:
>>
>> Set mess XXXX Off
>>
>> The error variable still holds the value of the err mess Like
>>
>>
>> Set error var verr
>> set var vHoldErr int = null
>>
>> Select somecol from someTable wher someCol = 'SomeValueNotThere'
>> set var vHoldErr = .verr
>>
>>
>> The value of vHoldErr is 2059, so you can still check for error even with
> the
>> message suppressed from the GUI.
>>

Reply via email to