It seems to me you are not specifying the name of the table where the record is...
>Hello
>
>
>I made a class that has a function that wehn find a recrod deletes it ...when i was debugging my program...it showed me a problem in the seek function ...i solved it but
>i realized that it deleted a reocrd from plplfmae.dbf when i already be in plplmov.dbf
>WHAT HAPPENED??
>Thank you
>Luis Martin
>
>
>
>select plplfmae
>.
>.
>.
>select plplfmov
>
>IF SEEK(configtraba+ccodempleado+xmes+xano+cconcepto)
> DELETE FOR cod_emple= plplfmae.cod_emple AND mes = xmes AND;
> ano=xano AND mocodconce= cconcepto
> MESSAGEBOX("REGISTRO BORRADO ")
> ELSE
> MESSAGEBOX("NO SE ENCUENTRA EL CONCEPTO --> "+cconcepto)
> ENDIF
>.
>.
>.
>.
>ENDIF
>
>
>