Main Switchboard won't open sub-switchboard

K

Kevryl

Can someone help me work out why not? I have put quite some time into
understanding the entries in the "Switchboard items" table by comparing with
a sample database. All the entries appear to be correct, but the go to
switchboard button in the main default switchboard (1) just will not activate
the sub-switchboard (2). The switchboards were both set up using the
Switchboard manager.

I'm running Access 2000 under XP.
Cheers K.
 
C

Chris Burnette

K., not sure why you're having trouble, but you might try something like this:

1) Open your switchboard in Design view

2) Right-click the button you want to direct people to the next switchboard
and go to Properties

3) Click the Event Tab. On the Event tab there will be a propery called
OnClick, which is what happens when the user clicks your button. Here, the
code should look something like:

DoCmd.OpenForm stDocName, , , stLinkCriteria

Where stDocName is the name of the form (in this case, the switchboard) that
you are trying to open.

Make sure that the OpenForm command is pointing to the correct switchboard,
and if it is then try creating your own switchboard rather than using the
switchboard manager and have it point to that form.

Hope that helps,

Chris
 
K

Kevryl

Thank you Chris. I had actually worked out, with help that the Switchbvoard
form had become corrupted and have replaced it. I'm now using a combination
of the main switchboard and other self-created forms as sub-menus. The
combination works well and enables the sub-menus to be easily customised with
their own identities, unlike the limitations imposed by the "switchboard"
approach.

Thanks for replying. :)
 

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

Top