Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record searching on textbox lostfocus event
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00834029
Message ID:
00834478
Vues:
14
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 
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform