Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect uniqueID with textbox class
Message
 
 
To
05/11/2003 07:12:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00845874
Message ID:
00847443
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform