The table is not opening when the command button is clicked from the switchboard. This is my code [DoCmd.OpenTable "tbl_Gang"]
The table is not opening when the command button is clicked from the switchboard. This is my code [DoCmd.OpenTable "tbl_Gang"]
The code works for me.
Are there any error messages?
Check spelling - is there a table named "tbl_Gang"
What is the full procedure?
Is the button connected to the subroutine? (sometimes they can get disconnected.)
Have you set a breakpoint to determine if the code is being executed?
Just curious.... Why are you opening a table? I never allow anyone to see anything execpt forms and reports.