R
Rhysickle
I have a form with various unbound tick boxes & combo boxes. I want to build
a macro which runs a different SQL query depending on what state the tick
boxes and combo boxes are in.
The various combinations of tick boxes and selections in the combo boxes is
potentially huge, and I don't really want to clutter my database with dozens
of queries. Is there a way to set up a table where the SQL code is entered in
a memo field, and where a macro can look up a record, treat the text string
in th ememo field as SQL and run it as a query.
Thanks for any help
Rhys
a macro which runs a different SQL query depending on what state the tick
boxes and combo boxes are in.
The various combinations of tick boxes and selections in the combo boxes is
potentially huge, and I don't really want to clutter my database with dozens
of queries. Is there a way to set up a table where the SQL code is entered in
a memo field, and where a macro can look up a record, treat the text string
in th ememo field as SQL and run it as a query.
Thanks for any help
Rhys