Hi There,
Firstly I am close to completing my first ever access database in Access 2007
Unfortunately I discovered you cannot add more then 8 items to a switchboard.
Having Googled the problem, I found the following solution:-
But I cannot work out how to get past this part of the above, I just cannot find it:-
I would really be grateful for some assistance to understand how to " go to the code behind the switchboard form" ?? Remember I am using Access 2007
Also please note my switchboard currently has 8 items in there I just need 2 more buttons....
Thanks in advance...
Cheers
Firstly I am close to completing my first ever access database in Access 2007
Unfortunately I discovered you cannot add more then 8 items to a switchboard.
Having Googled the problem, I found the following solution:-
. Q: How do I have more than eight items on the switchboard form?
A: Make a backup of your database before beginning. You need to create additional command buttons and labels to match the number of items you want. Easiest way to do this is to highlight the last command button and label and select Copy. Then Paste them onto your form to create additional ones. Now make sure you change the name of the NEW command button(s) to Option9, Option10, etc. Also change the name of the NEW labels to OptionLabel9, OptionLabel10, etc.
Now go to the properties area of each new command button. In the click event, enter the following:
=HandleButtonClick(9), =HandleButtonClick(10), etc. to match up with your selection. Do exactly the same thing for the Click event of the labels (unless you turned those off).
Now go to the code behind the Switchboard form. Scroll down until you come to this line in the FillOptions Sub:
Const conNumButtons = 8
Change that number to 9, 10 or whatever you need.
Compile the code, save and close the form. Now if you use the Switchboard Manager interface you are still restricted to 8 items. To add more you have to add the entries manually into the Switchboard Items Table. Shouldn't be hard to do if you take a few minutes and see how the records are entered. You can EDIT more than 8 entries from the Wizard, but cannot ADD more than 8.
But I cannot work out how to get past this part of the above, I just cannot find it:-
Now go to the code behind the Switchboard form. Scroll down until you come to this line in the FillOptions Sub:
Const conNumButtons = 8
Change that number to 9, 10 or whatever you need.
I would really be grateful for some assistance to understand how to " go to the code behind the switchboard form" ?? Remember I am using Access 2007
Also please note my switchboard currently has 8 items in there I just need 2 more buttons....
Thanks in advance...
Cheers