[Solved] Storing SQL Queries to a table
I can't seem to find it and this has to be the last bit of stuff I need to get my Database up and running for my boss using an EXE front end.
What I am trying to do is something similar to what I did for my reports
I have a table with the following fields
ID = Autonumber
Discrip = Text (Discription of the Report)
The combo box on the On Change event has this code
Private Sub ReportCombo_AfterUpdate()
DoCmd.OpenReport ReportCombo, acViewPreview
End Sub
Can I set something like this for SQL commands?
I can't seem to find it and this has to be the last bit of stuff I need to get my Database up and running for my boss using an EXE front end.
What I am trying to do is something similar to what I did for my reports
I have a table with the following fields
ID = Autonumber
Discrip = Text (Discription of the Report)
The combo box on the On Change event has this code
Private Sub ReportCombo_AfterUpdate()
DoCmd.OpenReport ReportCombo, acViewPreview
End Sub
Can I set something like this for SQL commands?
Last edited: