Adding to Switchboard Manually

M

Marie

What are the steps that I need to take to add another
button/command to my switchboard (i.e. not using the
switchboard manager). I have some idea but a "run-time
error 2465" comes up with the way that I am trying to do
this. I know that I have to add to the Switchboard table
but I don't think i'm taking the right steps. (I have 10
items on my switchboard, and the manager only allow 8...I
would like to add one more...someone added the other two
for me and she didn't outline the steps for me clearly).
Help!
 
E

e stewart

You need to add the options into the switchboard table as
you stated following the numbering sequence for the
switchboard you are adding the options to.

You also need to go into the switchboard form in design
mode and add additional buttons and labels. Making sure
that you go into the properties for these and changing the
label and button names to Option10 and OptionLabel10.
These are used in the vb code behind the form.

Next you need to go to the vb code behind the form and
find the FillOptions() subroutine. Within this subroutine
find where it defines the constant conNumButtons and
change it to the number of buttons that you are using.

This should do it for you.
 
M

Marie

Thanks a bunch, I got it!
-----Original Message-----
You need to add the options into the switchboard table as
you stated following the numbering sequence for the
switchboard you are adding the options to.

You also need to go into the switchboard form in design
mode and add additional buttons and labels. Making sure
that you go into the properties for these and changing the
label and button names to Option10 and OptionLabel10.
These are used in the vb code behind the form.

Next you need to go to the vb code behind the form and
find the FillOptions() subroutine. Within this subroutine
find where it defines the constant conNumButtons and
change it to the number of buttons that you are using.

This should do it for you.





.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top