function updcheck cOldName = oldval("user_name","timeusernew") if assoc_id > 5000 user_name=cOldName endif return .t. update timeusernew set user_name="blahblah" where assoc_id > 3000I even tried to put "skip" inside the if...endif code but VFP choked on that too.