>>Mark,
>>Similar code is what we're adding. But it OUGHT to work!!!
>
>HA HA! Truth be told, you should NOT have this problem. Is the seek directly before the line that checks for lRet ? Is it possible you are calling a function that is using lRet at certain times?
>
>>>lRet = seek(cSeek, 'MyTable', 'MyTag')
>>>
>>>If !IsNull(IRet) and type('lRet') = 'L' and lRet
>
>The above is why I prefer to do...
>
>If seek( .... blah
>
>BOb
Bob, same problem - if the SEEK() doesn't run, you get a .NULL. and the IF fails.
Thanks,
Barbara