F
Foo
I am looking for a way to let a user specify which columns in a query
result are shown and which are not.
What I have is a query with a lot of columns. I want to make a form
with checkboxes where a user can select (by checking/unchecking
checkboxes) which columns to show/hide in the displayed query. After
clicking an Open Query button the query has to be shown in which only
those columns are visible that the user has specified. So, basically
just what the 'Show column' property of a query does, but now
dynamically defined instead of defined in the query itself. Is
something like this possible in Access? Or do I have to manually write
a complete SQL string depending on which checkboxes are selected in the
form? Thanks in advance.
result are shown and which are not.
What I have is a query with a lot of columns. I want to make a form
with checkboxes where a user can select (by checking/unchecking
checkboxes) which columns to show/hide in the displayed query. After
clicking an Open Query button the query has to be shown in which only
those columns are visible that the user has specified. So, basically
just what the 'Show column' property of a query does, but now
dynamically defined instead of defined in the query itself. Is
something like this possible in Access? Or do I have to manually write
a complete SQL string depending on which checkboxes are selected in the
form? Thanks in advance.