>Hi Erik,
>
>That's right the controlsource is clientes.c_codigo from the table.
>
>But can you tell me the way to resolved the problem...
>
>I apreciate...
>
>Thank's in Advance
>
>
>joao batista
Are you trying to find duplicates?
If so, you need to specify some other criteria to ensure that you don't hit the record you're already sitting on.
You can do this with the LOCATE command, and should do it on another copy of the table opened in another work area:
LOCATE FOR c_codigo = THISFORM.txtWhatever.Value AND pkValue <> THISFORM.pkfield.Value
Or something similar.
Erik Moore
Clientelligence