Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validating entry in Textbox
Message
From
26/10/2004 16:39:32
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows 2000 SP3
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00954572
Message ID:
00954696
Views:
15
i would set it up something like this

public intCustomerID as integer

'Enter Event
intCustomerID = Me.txtCustomerID.Text

'Leave Event
If intCustomerID <> Me.txtCustomerID.Text Then
intCustomerID = Me.txtCustomerID.Text
'Call database and Load other Textboxes
End If

You can also check into the Validated and Validating Event. Then if
the customerID is no good return False so the user stays in the
txtCustomerID textbox.
Randy Belcher
AFG Industries, Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform