Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect uniqueID with textbox class
Message
 
À
05/11/2003 07:12:56
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00845874
Message ID:
00847443
Vues:
27
I think so i didn't understang good that you said :) but i've do it like below
* textbox properties lcuniq .t.,lctable (none),lcindex (none)
* textbox lostfocus event
If This.lcuniq
	If Thisform.EditMode=.T. Or Thisform.AddMode=.T.
		If Indexseek(Trim(This.Value),.F.,This.lctable,This.lcindex)
			Messagebox('This Code Allready Exist On Table',16,'Opps',2)
		Endif
	Endif
Endif
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform