Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

switchboard limits? 1

Status
Not open for further replies.

rry2k

Programmer
Jun 28, 2001
678
US
Hi,

I was given a db with a switchboard. I assume it was created in a wizard. The problem I have is I'm trying to add a 9th item and it doesn't like it. Does anyone know if there is a limit of 8? I tried changing the line of code that says: "Const conNumButtons = 8" which was created by the wizard but that doesn't work.

Thanks for the help..Russ
 
1) On the switchboard form, you need to add (copy and paste) another button and label.
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) Repeat steps 2 - 4 again for each new button you want, incrementing each time (10, 11, 12, etc.).
6) Go to the new table that Access created called "Switchboard Items"
7) Add the appropriate information for each of the new buttons.


The three commands you will probably use are as follows:

1 - Open another switchboard (Argument = another switchboard ID)
3 - Open a form (Argument = Form Name)
8 - Run a function (Argument = Function Name)
Jim Lunde
compugeeks@hotmail.com
We all agree that your theory is crazy, but is it crazy enough?
 
Thanks Jimmy,

I haven't tried this yet but it sounds like you have done this before.

Thanks..Russ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top