one label all forms

S

seeker

I want to put a label on all my forms that says YOU ARE IN ARCHIVE. Can I do
this without placing a label on each form? Thanks.
 
D

Douglas J. Steele

You could set the form's Caption to that. That would mean that it would
appear in the bar at the top of the form. However, you'd have to set it, so
I don't know whether that'll save you anything.
 
J

John W. Vinson

I want to put a label on all my forms that says YOU ARE IN ARCHIVE. Can I do
this without placing a label on each form?

You can't: a Label control resides on a form and you can't have one label
simultaneously on every form.

About the best I can think of is to have a small startup form with nothing but
that label on it; have it open all the time, and arrange that none of your
other forms overlap it on the screen.
 
L

Linq Adams via AccessMonster.com

Which is probably going to be a lot of trouble, since, as John said, it'll
have to appear in front of each form, and you'll have to worry about
***where*** on any given form it appears, so as not to block important data.

I would:

Making a label on Form1
Copy the Label
Minimizing Form1
In turn, for each form, paste it in place
Minimizing each form
Repeat for all forms
When done, click to exit the database
Access will prompt you to save all forms that you've added the label to, and
you can do so, all at once.
 
D

David W. Fenton

I want to put a label on all my forms that says YOU ARE IN
ARCHIVE. Can I do this without placing a label on each form?

You can't do it without doing *something* in all forms. I often use
color to distinguish versions of the same database, and also set
captions of forms on load. This requires code in each form, but
since it's built into these apps that loading a form sets
colors/etc. it's easy for me to do.
 
Top