>>>If there is a bug here it is that there is no error with out an error handler.
>>>I, personally, prefer relagating this to the error handler.
>>
>>Well I added this check to my error handler. I do appreciate the information. I did waste a whole day tracking down this one but that goes with the job. BTW is there any other "Features" you know of that I have to code around in my error handler?
>>
>>TIA.
>
>Kevin,
>
>The only other one that comes to mind is this;
>
>SUBSTR() allows you specify a length longer than the string if SET TALK is ON, but if SET TALK is OFF then it generates an Attempt to read past end of string error. So;
>
>
>lcString = "ABC"
>SET TALK ON
>?SUBSTR(lcString,2,3)
>SET TALK OFF
>?SUBSTR(lcString,2,3)
>
Thanks Jim! I appreciate your help!!