G
gr8t99one
I am pretty new to Access, so pardon my inexperience. I have an interesting
problem. I am trying to track a number of figures, let's call them X's, by
date, with one value for each date (call the dates 'Y').
I would like to have a subform that shows in a datasheet view the X's as rows
and the Y's (dates) as columns. I've created a crosstab query that shows the
information, but the problem I am having is that every day I use the table I
have a new date, and therefore a new column. Since I've set up the subform
with only the dates through yesterday as columns, the new column doesn't
appear.
Is there a way to dynamically create columns of a subforrm from a recordset
in VBA so that every day, I get the appropriate number of columns with the
correct column headings? Let me know if I need to explain further, and thank
you for your help.
Matt
problem. I am trying to track a number of figures, let's call them X's, by
date, with one value for each date (call the dates 'Y').
I would like to have a subform that shows in a datasheet view the X's as rows
and the Y's (dates) as columns. I've created a crosstab query that shows the
information, but the problem I am having is that every day I use the table I
have a new date, and therefore a new column. Since I've set up the subform
with only the dates through yesterday as columns, the new column doesn't
appear.
Is there a way to dynamically create columns of a subforrm from a recordset
in VBA so that every day, I get the appropriate number of columns with the
correct column headings? Let me know if I need to explain further, and thank
you for your help.
Matt