Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record searching on textbox lostfocus event
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00834029
Message ID:
00834478
Views:
15
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 
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform