RaunLGoode
Registered User.
- Local time
- Today, 07:08
- Joined
- Feb 18, 2004
- Messages
- 122
I want to run a query to update a combo box prior to loading a form.
I am using the following code in the on click command to do this:
Private Sub cmdRunQuery_Click()
DoCmd.OpenQuery "qryActive", acViewNormal, acEdit
End Sub
I have examples for opening and closing forms, and opening the query, but I am missing something in the syntax. I am using Access 2000
I have tried to do this in the OnOpen event without success too, if anyone out there is feeling extra generous
I am using the following code in the on click command to do this:
Private Sub cmdRunQuery_Click()
DoCmd.OpenQuery "qryActive", acViewNormal, acEdit
End Sub
I have examples for opening and closing forms, and opening the query, but I am missing something in the syntax. I am using Access 2000
I have tried to do this in the OnOpen event without success too, if anyone out there is feeling extra generous