B bella Registered User. Local time Today, 21:25 Joined Jul 31, 2003 Messages 38 Aug 19, 2003 #1 Hi How do i say "If a the text value i get from a textbox is blank THEN DO whatever" in vb?? something like IF Me!txtLO1 = "" Then ... but this doesnt seem to be working?? Bella
Hi How do i say "If a the text value i get from a textbox is blank THEN DO whatever" in vb?? something like IF Me!txtLO1 = "" Then ... but this doesnt seem to be working?? Bella
Mile-O Back once again... Local time Today, 21:25 Joined Dec 10, 2002 Messages 11,316 Aug 19, 2003 #2 Code: If IsNull(Me.txtMyTextbox) Then
ghudson Registered User. Local time Today, 16:25 Joined Jun 8, 2002 Messages 6,194 Aug 19, 2003 #3 If IsNull(txtMyTextbox) or txtMyTextbox = "" Then The text box will no longer be Null if the user keys data in the field and then clears it out by using the delete key or backspace key. HTH
If IsNull(txtMyTextbox) or txtMyTextbox = "" Then The text box will no longer be Null if the user keys data in the field and then clears it out by using the delete key or backspace key. HTH