Open and Close a Form

P

Paul

Hi,
I created a Logon Form that gives the User Two command
buttons to choose from:
(1) transplant Coordinator
(2) Clinicial Coordinator

Once a user selects the desired option, I want to close
this form.
This Code Opens Option (1) and I need to add code to close
the Logon form.
Private Sub Command0_Click()
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Main"
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub
 

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