I need to present data to my user on a form.
The data comes from the query:
The nature of the query means, that both the number of rows and columns are variable, as well as the column headers, which I also wish to display.
So far I have displayed the data using a listbox, but I am uncertain if this is the best way.
Which would be the best way to display this?
The data comes from the query:
Code:
TRANSFORM Sum(tblTable.Value) AS SumOfValue
SELECT tblTable.ExpenseType
FROM tblTable
GROUP BY tblTable.ExpenseType
PIVOT tblTable.Year;
The nature of the query means, that both the number of rows and columns are variable, as well as the column headers, which I also wish to display.
So far I have displayed the data using a listbox, but I am uncertain if this is the best way.
Which would be the best way to display this?