Martynwheeler
Member
- Local time
- Today, 10:11
- Joined
- Jan 19, 2024
- Messages
- 82
I have a crosstab query that can hold student marks from a predefined number of tests. I want to display the query on a form so I have set the column headings of the query to the known values I expect from the test titles. This all works fine.
However, I would like to hide columns that contain no data. I can work out from the query that the crosstab is based on which columns will have no data - I can put the column headings into an array as the form loads (this will change over the course of time but I can always determine it).
Ideally I'd like to loop through the columns and hide those that that are not in my array.
I enclose the file I am working on.
the relevant form is "frmStudentGradeSheet" which is based on qselStudentGradeSheet (which in turn is based on two crosstabs)
Thank you in advance,
Martyn
However, I would like to hide columns that contain no data. I can work out from the query that the crosstab is based on which columns will have no data - I can put the column headings into an array as the form loads (this will change over the course of time but I can always determine it).
Ideally I'd like to loop through the columns and hide those that that are not in my array.
I enclose the file I am working on.
the relevant form is "frmStudentGradeSheet" which is based on qselStudentGradeSheet (which in turn is based on two crosstabs)
Thank you in advance,
Martyn