Hello,
I need a few suggestions about the visualisation of my queries. At the moment my DB is doing is the following:
1) the user makes some selections in a form and run a VBA code (activated by a bottom command) which essentially creates a query at the end of the process;
2) The query is displayed in a listbox within a new form which is opened by the VBA code.
I have the following problem. The VBA code creates a query with a number of columns that varies depending on the user's selection in the first form. Number of columns can range between 5 and 35 so you can imagine that as the number of columns increases, it's almost impossible to read the content of each column.
So here my two questions:
1) Is there a way to set the columns' width to Auto as well as the total width of the listbox?
2) Would you use another object instead of listbox to visualise the query's results?
Note that I need to display in the same window the query's results with some values contained in a table. For this reason the second form contains two listbox one uses the query as Row source and the second one the mentioned table.
Thank you for your help!
S.
I need a few suggestions about the visualisation of my queries. At the moment my DB is doing is the following:
1) the user makes some selections in a form and run a VBA code (activated by a bottom command) which essentially creates a query at the end of the process;
2) The query is displayed in a listbox within a new form which is opened by the VBA code.
I have the following problem. The VBA code creates a query with a number of columns that varies depending on the user's selection in the first form. Number of columns can range between 5 and 35 so you can imagine that as the number of columns increases, it's almost impossible to read the content of each column.
So here my two questions:
1) Is there a way to set the columns' width to Auto as well as the total width of the listbox?
2) Would you use another object instead of listbox to visualise the query's results?
Note that I need to display in the same window the query's results with some values contained in a table. For this reason the second form contains two listbox one uses the query as Row source and the second one the mentioned table.
Thank you for your help!
S.