Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record searching on textbox lostfocus event
Message
De
02/10/2003 13:44:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00834029
Message ID:
00834377
Vues:
18
Sorry but I pressed the wrong key before a finished...

Try this...

If This.llunique = .T.
Set exact on
if SEEK(this.value,this.lctablethis.lcindex,)
=Messagebox("&lcvalue allready exist on the table",16,"Opps...")
Return .f.
Endif
Set exact off
Endif

...but I think it should be in the Valid event of the textbox if you want to keep the focus on the textbox.


Paco Calvente.
Saludos,

Paco Calvente
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform