VBA to bring up database window

  • Thread starter Thread starter James Ivey
  • Start date Start date
J

James Ivey

Access Newbie
VBA beginner

On Startup, I've got the database window hidden.
I've got a splash screen with a Close Form button on it.
When user clicks on the Close Form button, I would like the splash screen to
close, AND have the database window come up - same as hitting the F11 key.
Is this doable?

Private Sub closeForm3_Click()
On Error GoTo Err_closeForm3_Click
DoCmd.Close
Exit_closeForm3_Click:
Exit Sub
Err_closeForm3_Click:
MsgBox Err.Description
Resume Exit_closeForm3_Click
End Sub


James
 
try
DoCmd.SelectObject acTable, , True

This will open the db window showing the Table tab.
 

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

Exit Switchboard Form to Access Database 2
lock button 15
Close command taking long time 3
Access Pop-Up Calendar 2
Close form without saving 13
Open hidden database window 1
Close command 1
Database security 1

Back
Top