>How can use locate for command for two records
>Locate For lcode=thisform.lcode.value
>Locate For sec=thisform.sec.value
>can be
>Locate For lcode=thisform.lcode.value .and. Locate For sec=thisform.sec.value
Locate can only find one record at the time. If lcode and sec are two fields in a table you can use:
locate for lcode=thisform.lcode.value AND sec=thisform.sec.value
Einar
Semper ubi sub ubi.