P
PeterJC
i have a switchboard in Access2007. I want to increase (if possible) the
number of items allowed on a switchboard page. I've tried to do this by
setting the constant "conNumButtons" = to some number larger than 8, which is
the default setting in the code procedure "Private Sub Fill Options()". I
can find no other reference to the number of buttons on a page anywhere in
the code module for the switchboard.
However, when I try to open the switchboard, I get an error message: "MS
Access can't find the field 'Options9' referred to in your expression".
The line of code which will not run is:
Me("Option" & intOption).Visible = False, and this occurs in a For-Next
loop which cycles through the buttons from 2 to the number set by the
constant 'conNumButtons'. I can see no reason why the code needs to know
something about 'options9'.
Any ideas would be welcome!
number of items allowed on a switchboard page. I've tried to do this by
setting the constant "conNumButtons" = to some number larger than 8, which is
the default setting in the code procedure "Private Sub Fill Options()". I
can find no other reference to the number of buttons on a page anywhere in
the code module for the switchboard.
However, when I try to open the switchboard, I get an error message: "MS
Access can't find the field 'Options9' referred to in your expression".
The line of code which will not run is:
Me("Option" & intOption).Visible = False, and this occurs in a For-Next
loop which cycles through the buttons from 2 to the number set by the
constant 'conNumButtons'. I can see no reason why the code needs to know
something about 'options9'.
Any ideas would be welcome!