×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Switchboard....

Switchboard....

Switchboard....

(OP)
Is it possible to get more than 8 items on a Switchboard..?

RE: Switchboard....

Yes! Add more button if there is space and change the constatnt acording to the number od buttons on main screen.

RE: Switchboard....

(OP)
But when I try to add more than 8 I get the message...

Sorry, only 8 items are allowed per switchboard page.

RE: Switchboard....

Open your switchboard in design view and then open the code window.
In the FillOptions procedure change the constant ConNumButtons
Private Sub FillOptions()
' Fill in the options for this switchboard page.

    ' The number of buttons on the form.
    Const conNumButtons =
9

Close the code window and return to the Design view.
Add the extra buttons and labels by copy and paste.

The Option buttons and the labels are named Option1, Option2, etc and OptionLabel1, OptionLabel2 etc.  Make sure you change the Option button names AND the Label names to reflect the additional buttons.

Hope this helps.
Lightning

RE: Switchboard....

1) On the switchboard form, you need to add (copy and paste) the two extra buttons and labels.
2) On the 9th button, change the button name to Option9, and the label to OptionLabel9.
3) On the 9th button OnClick Event, change the =HandleButtonClick(8) to =HandleButtonClick(9)
4) On the 9th Label, Do the same.
5) Do steps 2 and 3 again for the 10th button and label.
6) Go to the new table that Access created called "Switchboard Items"
7) Add the appropriate information for each of the new buttons.

Jim Lunde
compugeeks@hotmail.com
CompuGEEKS
Custom Application Development

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close