Different headings on sub-switchboards

Posted on 2002-07-19
Last Modified: 2011-09-20
In Access 97, is there any way to have a different heading at the top of a switchboard if you have a button that takes you to a sub-switchboard?  So for instance, if my main switchboard says "Contracts" and I have a button on this switchboard labeled REPORTS, so when I click on this button it takes me to a sub-switchboard.  And at the top, now I want it to say "Contract Reports" instead of just "Contracts".  Any way to do this??????

Question by:esu4236
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2

Accepted Solution

Lianne072600 earned 100 total points
ID: 7166008

Have you ever tried creating a form and using this as a switchboard page? I know this doesn't actually answer your question but I thought it may be worth mentioning as I always find it not only easier to create but much simpler to manage switchboards that are actually standard forms with the relevant buttons on. This is especially prevalent if you will ever want to use the database on differant versions of Access, as standard forms are easy to convert/migrate. Just a thought.

LVL 54

Expert Comment

ID: 7166452
Just goto the switchboard manager.
The switchboardnames that are displayed will be the name of the form, when you add a switchboard as a sub, you're able to specify the text on the MainSwitchboard, that can ofcourse differ from the switchboardname.

Need more info ?


Author Comment

ID: 7169426
I tried your idea, and that may work better.

I don't understand your message.  I'm talking about the text box title that appears at the top of the main switchboard - not the actual selections on the switchboard.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 54

Expert Comment

ID: 7169644
I thought you were referring to the name of the form in the blue bar.
The textbox can be changed by adding a text column named "titletext" to the table "Switchboard Items"
and using this code in Private Function HandleButtonClick(intBtn As Integer):

        ' Go to another switchboard.
        Case conCmdGotoSwitchboard
            Me.Filter = "[ItemNumber] = 0 AND [SwitchboardID]=" & rs![Argument]
            If IsNull(rs!titletext) Then
               Me.Label1.Caption = "Your database name"
               Me.Label1.Caption = rs!titletext
            End If
You'll need to replace the "Your database name" with the application name you want on the first form and all sub-switchboards require the wanted text.

Clear ?


Author Comment

ID: 7201220
That may be the way we go -- set up a separate form with all the buttons on it to access the other forms.  I like that idea.

Thanks for the tip.

Expert Comment

ID: 7204512
Glad to be of assistance.


Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question