Jumping to another switchboard

billchow24

New member
Local time
Today, 00:01
Joined
Apr 18, 2010
Messages
4
Do anyone know how can i write a VBA to open a switchboard?
I know how to jump to the default switchboard by:
DoCmd.OpenForm "Switchboard"

however, i don't know how to write VBA to open another switchboard B which is not the default switchboard

Thanks very much
 
You can open any form by name using ...
Code:
DoCmd.OpenForm "YourFormName"
If the non-default switchboard is called SwitchBoardB, use ...
Code:
DoCmd.OpenForm "SwitchBoardB"
 
You can open any form by name using ...
Code:
DoCmd.OpenForm "YourFormName"
If the non-default switchboard is called SwitchBoardB, use ...
Code:
DoCmd.OpenForm "SwitchBoardB"

In switchboard item, i can only find switchboard
The switchboard manager show there are two switchboards,
Main page(default) and Staff Area.

When i write:
DoCmd.OpenForm "Staff Area"
It just say that Staff Area does not exist in switchboard item
 

Users who are viewing this thread

Back
Top Bottom