IF SEEK( < MyValue >, '< MyAlias >', '< MyTag >' ) *** Record is found. Do something ENDIFTo what you need to do the same thing with LOCATE:
lnSelect = SELECT() SELECT < MyAlias > LOCATE FOR < SomeCondition > IF FOUND() *** Record is found. Do something ENDIF SELECT ( lnSelect )Less code means fewer bugs ;-)