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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement