Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for an value in a text box
Message
 
À
05/12/1999 16:01:10
Noman Aftab
Embry-Riddle Aeronautical University
Daytona Beach, Floride, États-Unis
Information générale
Forum:
Visual Basic
Catégorie:
VBScript
Divers
Thread ID:
00298939
Message ID:
00299105
Vues:
15
Noman,
Try:
If Trim(Text1.Value) = "" Then
Msgbox "Bound Textbox is empty)
End If

>Hello everyone
>I have a textbox that shows the sum of field values generated by a query. My problem is when there are not any records found by the query nothing appears in the textbox I can't check for the correct state of the texbox. I mean I can't find out if its empty or not. I have used ISNULL and ISEMPTY but they don't give a correct result. I have put a watch on the value and when the text box is empty the value of the textbox is nothing, its not even NULL or empty string.
>Can anyone help me out.
>Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform