>>=seek(cvar, "mydbf", "mytag") >>set exact on >>if found("mydbf") >> .... >>endif >>>
set exact off >if found() > set exact on > .... do code that requires exact on >else > set exact on && return EXAXT to 'system' state >endif>I have oftened hoped that MS would give us an 'EXACT' switch in the SEEK() function that would revert to the SET EXACT state after the function completed. They havent - but - and this is a surprise - is that MS has added a bunch of features to core xBase! My 'set-in-my-ways' apprach had condemned me to re-using old libraries - I bnever even thought to check VFP xBase for enhancements - until last night. I was warm and fuzzy all over!