Jonathan Smith said:
Is it possible to have more than Eight Items on an Access 2002 Switchboard?
If so, how might one accomplish this?
First there is a constant defined (conNumButtons) as 8. You need to change
that to the number of buttons you want. Then the switchboard uses a trick to
simulate a control array. All the buttons and labels are named with names
like:
Option1
Option2
....
Option8
Then the code refers to the buttons with the fake array like:
For intOption = 2 To conNumButtons
Me("Option" & intOption).Visible = False
So you must add all your buttons and labels with the next consecutive
numbers and feed the code those numbers. Like:
=HandleFocus(9)
Be careful, there are lots of transparent buttons that must be accomodated.
It is better to make a few copies of the switchboard form and play around
awhile to get the hang of it. That said, I suggest you find an easier way to
build a menu.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access