Seek() >Seek for >Locate for >>
Locate for mytable.field1=this and mytable.field2=that > if found() > nRecordnumber=recno() > go nrecordnumber > do some stuff > else > do nothing > endif > >Or > >Seek mytable.field1=this && If found the record pointer moves > if mytable.field2=that > do some stuff > else > do nothing > endif>
scan && This will loop through all the records in the table to the Eof() > if mytable.field1=this > do some stuff && this will run if the 'IF' condition is true > else > do nothing && This will run if the 'IF' condition is false > endif >endscan>