Adding Title to Switchboard Form

M

Meryl

My main switchboard calls other switchboards. I would
like to display the Title Name of the lower lever
switchboards when that switchboard form is displayed.
I.e. if I have a Fundraising Switchboard called from the
Main switchboard, I would like "Fundraising" to be
displayed. Can you tell me how to program
this?

Thank you.

Meryl
 
F

fredg

My main switchboard calls other switchboards. I would
like to display the Title Name of the lower lever
switchboards when that switchboard form is displayed.
I.e. if I have a Fundraising Switchboard called from the
Main switchboard, I would like "Fundraising" to be
displayed. Can you tell me how to program
this?

Thank you.

Meryl

Meryl,
I suspect you are using the Access built-in Switchboard, not your own
unbound forms.

If so, open the Switchboard form in design view.
Add the two lines with the ' *** to the Form's Current event so that
it reads like this:

Me.Caption = Nz(Me![ItemText], "")
Me!Label1.Caption = Nz(Me![ItemText], "") ' ***
Me!Label2.Caption = Nz(Me![ItemText], "") ' ***
FillOptions

Label1 and Label2 are the labels that appear with a slight shadow
above the column of command buttons.

If someone has changed the names of the 2 labels, just adapt the code
above as needed ...
OR ...
If you want to retain Label1 and Label2 as is, just add another label
where wanted and change the above code as needed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top