lRet = .NULL. do while IsNull(lRet) lRet = seek(cSeek, 'MyTable', 'MyTag') enddoAssuming that the DO WHILE will not be infinite :), this should "solve" the problem. At least, the program will work until you find the real cause.
>lRet = seek(cSeek, 'MyTable', 'MyTag') > >If lRet > End Transaction >else > Rollback >endif >>I get a type mismatch error, and Debug shows that lRet is .NULL.