G
Guest
Dear all
This is probably a very simple question, but I do not seem to find a awnser
that suits me on the net.
I want to make a buttonclick perform a select qeury.
The code is something like thisPrivate Sub Command4_Click()
Dim SQL As String
SQL = "SELECT *" & _
"FROM dataset" & _
"WHERE dataset.machines = machineA"
DoCmd.RunSQL SQL
End Sub
I know this is wrong because the DoCmd.RunSQL method is only for action
queries. But how do I make an (ASCII) overviewof the selection I need from
the table dataset.
I need this data for further analysis.
This is probably a very simple question, but I do not seem to find a awnser
that suits me on the net.
I want to make a buttonclick perform a select qeury.
The code is something like thisPrivate Sub Command4_Click()
Dim SQL As String
SQL = "SELECT *" & _
"FROM dataset" & _
"WHERE dataset.machines = machineA"
DoCmd.RunSQL SQL
End Sub
I know this is wrong because the DoCmd.RunSQL method is only for action
queries. But how do I make an (ASCII) overviewof the selection I need from
the table dataset.
I need this data for further analysis.