dynamically query
Hello Access Experts ,
I would like to make a query, based on the input of the user. I already have created a form, on which the user can select the possible fields to be displayed (including a optional filter).
The corresponding sql - code is generated with VBA (a SQL string starting with SELECT - FROM command expanded with the selected fields with the use of if-then-else. The filter is created with the use of the WHERE () command
Only I can't seem to make it work. Can anyone help me?
A second question is that I would like to display the selected data into a graph, but have no idea how to do this.
Thx in advance.
Marc
|