PC Review


Reply
Thread Tools Rate Thread

what is in a blank text box???

 
 
JoeBlack
Guest
Posts: n/a
 
      30th Aug 2006
If i tab by a text box what is entered in the table and can i test with
validation rules to stop this. ... IsEmpty .. IsNull .. Not "" what???

simple question need simple answer

thanks Joe
 
Reply With Quote
 
 
 
 
John Vinson
Guest
Posts: n/a
 
      30th Aug 2006
On Wed, 30 Aug 2006 03:45:26 GMT, JoeBlack <(E-Mail Removed)>
wrote:

>If i tab by a text box what is entered in the table and can i test with
>validation rules to stop this. ... IsEmpty .. IsNull .. Not "" what???


Null, or the table field Default Value if it has one, will be entered
into the table.

You can test (say in the Form's BeforeUpdate event) with an expression
like

If IsNull(Me.textboxname) Then
<take appropriate action>
End If


John W. Vinson[MVP]
 
Reply With Quote
 
Ken Snell \(MVP\)
Guest
Posts: n/a
 
      30th Aug 2006
If Len(Me.TextBoxName.Value & "") = 0 Then
' the textbox contains "" or Null value
Else
' the textbox contains some other value
End If

--

Ken Snell
<MS ACCESS MVP>

"JoeBlack" <(E-Mail Removed)> wrote in message
news:Xns982ED32CE8839joeblack666hellco@198.80.55.250...
> If i tab by a text box what is entered in the table and can i test with
> validation rules to stop this. ... IsEmpty .. IsNull .. Not "" what???
>
> simple question need simple answer
>
> thanks Joe



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
blank lines, text boxes, rich text helpmeplease Microsoft Access VBA Modules 0 26th Oct 2009 05:51 PM
blank messages appearing instead of full text(text missing) =?Utf-8?B?QXJneWxsIDUw?= Microsoft Outlook Discussion 1 1st Nov 2006 02:46 PM
RE: "Blank page" is not blank. It contains text written weeks ago. =?Utf-8?B?bmF0aGFuMjY3Nw==?= Microsoft Word Document Management 1 7th Jan 2005 09:52 PM
Re: "Blank page" is not blank. It contains text written weeks ago. Jay Freedman Microsoft Word Document Management 0 7th Jan 2005 06:43 PM
How to identify (test) a blank or blank line in a text file? =?Utf-8?B?UGV0ZXI=?= Microsoft Access 1 5th Aug 2004 09:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:52 AM.