A theory/practice question regarding Text Boxes and Labels

Bilbo_Baggins_Esq

Registered User.
Local time
Yesterday, 23:00
Joined
Jul 5, 2007
Messages
586
Can anybody offer some explanations or practices which are benefitted by creating multiple empty Labels?

In every version of Access that I have ever used (access 97 and on), you can NOT create an empty Label using the tool box. As soon as you attempt it, the label disappears. Poof. Create the label perimeter and then click off it (without typing a value) and poof, it is gone.

However, if you first create a Text Box, then perform a CHANGE TO > LABEL, you can do this, and the label will be empty. And, you can create multiple empty labels in a form by this method (don't try it with multiples in Access 2007).

But I find myself wondering Why?
What is the advantage?
Is there some functional capability difference between Labels and Text Boxes of which iu am unaware?
Does it have to do with VBA capabilities?

Can anybody here shed some light on this?

Thanks in advance!
 
In every version of Access that I have ever used (access 97 and on), you can NOT create an empty Label using the tool box. As soon as you attempt it, the label disappears. Poof. Create the label perimeter and then click off it (without typing a value) and poof, it is gone.
Unless you type a space in it, then it will hang around.
However, if you first create a Text Box, then perform a CHANGE TO > LABEL, you can do this, and the label will be empty. And, you can create multiple empty labels in a form by this method (don't try it with multiples in Access 2007).
Never had to do this since I just type a space in a label when I want it to stay without anything in it.
But I find myself wondering Why?
What is the advantage?
Is there some functional capability difference between Labels and Text Boxes of which iu am unaware?
Does it have to do with VBA capabilities?
There are some differences in how labels and text boxes act. Text boxes have some events that labels don't and labels can't get the focus, which at times is useful. But, essentially it comes down to personal preference in a lot of situations. I use labels a lot when I dont't feel the desire to go change all of the properties of a text box to make it look like a label.

Also, a label doesn't have a tab stop, it doesn't require locking, etc.

So, I probably didn't touch on all of the differences, but those are the main ones that I usually am concerned with.
Can anybody here shed some light on this?

Thanks in advance![/QUOTE]
 
I'll add a quick comment to Bob's excellent discussion. In Access 2003, you can sometimes have an intense screen flicker with unattached labels on tab controls. See this link for more information:
http://allenbrowne.com/ser-46.html

--------------------
Jeff Conrad - Access Junkie - MVP Alumni
SDET - XAS Services - Microsoft Corporation

Co-author - Microsoft Office Access 2007 Inside Out
Presenter - Microsoft Access 2007 Essentials
http://www.accessmvp.com/JConrad/accessjunkie.html
Access 2007 Info: http://www.AccessJunkie.com

----------
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.mspx
----------
 

Users who are viewing this thread

Back
Top Bottom