Hi David,
my last code of lostfocus event like below but still i am getting
.... allready exist on the table message
in another say always found returns .t. howewer i am trying newest idcode and there is not on the table but code still found() return .t.
i've tried with seek() but also same
why ?
lcvalue=this.Value
If This.lcuniq = .T.
SET EXACT OFF
SEEK ( this.Value ) ORDER ( this.lcindex ) IN ( this.lctable )
IF FOUND( this.lctable )
=Messagebox("&lcvalue allready exist on the table",16,"Opps...")
this.SetFocus
ENDIF
ENDIF