Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validating entry in Textbox
Message
De
26/10/2004 16:39:32
 
 
À
26/10/2004 11:37:08
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows 2000 SP3
Database:
Visual FoxPro
Divers
Thread ID:
00954572
Message ID:
00954696
Vues:
16
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform