M
mwest
I am using access 97, I am almost completed this project but am wondering how
I can get the query to open directly into a form. So far my query button
looks like this
Private Sub Command33_Click()
On Error GoTo Err_Command33_Click
Dim stDocName As String
stDocName = "Retreive Selected Year"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_Command33_Click:
Exit Sub
Err_Command33_Click:
MsgBox Err.Description
Resume Exit_Command33_Click
End Sub
Am I way off in what I am trying to do, when I type in the date I get the
information I want however it is not in a form. Thanks so much in advance.
I can get the query to open directly into a form. So far my query button
looks like this
Private Sub Command33_Click()
On Error GoTo Err_Command33_Click
Dim stDocName As String
stDocName = "Retreive Selected Year"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_Command33_Click:
Exit Sub
Err_Command33_Click:
MsgBox Err.Description
Resume Exit_Command33_Click
End Sub
Am I way off in what I am trying to do, when I type in the date I get the
information I want however it is not in a form. Thanks so much in advance.