add page to switchboard

G

Guest

I want to add more than 8 switchboard pages to the main switchboard. I have
no clue how to do this. Please help.
 
F

fredg

I want to add more than 8 switchboard pages to the main switchboard. I have
no clue how to do this. Please help.

You do mean add more than 8 'buttons' don't you?

Adding a 9th or 10th etc. button is no problem, however you cannot
edit the extra buttons using the switchboard manager. Any changes on
those buttons will have to be done manually.

Here's how.

In design view, select the 8th button. Copy it. Paste it.
Drag this new button and label and align it under the others.
Name this button "Option9".
Change the button's Click Event to:
=HandleButtonClick(9)

Rename the attached label
"OptionLabel9"
Change it's Click event to:
=HandleButtonClick(9)


Open the switchboard code window and change
Const conNumButtons = 8
to
Const conNumButtons = 9

Close the code window and save the changes.

Open the Switchboard Items table

Add a new record.
The actual data depends upon what you want the new button to do.
Let's say you wish to open a form for editing.

SwitchboardID = 1
Item Number = 9
Item Text = Open form whatever (this is the label text)
Command = 3 this is the constant number to open a form for editing)
Argument = frmWhatever (this is the actual name of the form)

Add additional buttons using the same method.

Change SwitchboardID to whatever the actual Switchboard number is.

Again , you won't be able to use the manager to edit the additional
button. You'll need to do it directly in the Switchboard Items table.
 
G

Guest

Do you mean more than 8 buttons?
If you are talking about more display forms then open the table Switchboard
Items and add.
 
J

Jeff Conrad

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

Similar Threads

Switchboard passwords 2
Access Switchboard error message 1
Switchboard Questions 2
SWITCHBOARD 1
Switchboard pages 5
SWITCHBOARD MANAGER 7
re Switchboard 1
Showing Switchboard Upon Startup 3

Top