Trying to create a form with unknown number of columns from a cross-tab query.
If I highlight the name of my cross-tab query within the queries tab and then select the menu items "Insert" ... "Form" and then click "Autoform: Tabular" this makes the form I want, creating the correct number of columns for what ever my cross-tab query requires! Simple but effective.
I know this sounds like a pivot table but a pivot table is a bit much for just showing dates.
How can I call this same process from VBA, say for example a command button? [/color red]
If I can get this to work my thoughts were to make a copy of the cross-tab query, renaming it with the users Environment variable and then creating the new form which will be saved with the new query name. I have to save with this process as we have many users on the database at the same time.
To help visualize the form,
1)Many Projects - Form will only show one
2)Variable Number of Tasks - These are rows so no problem there can have many as necessary.
3)Variable Number of Phases (Time Periods). Could be 5 could be 20 and as these are columns, here lies the problem.
4)If a date has been established for an Event and Project then it will appear in the proper column.
Yes, Yes, I know, I have been asked to recreate someones XLS sheet in Access but I cannot say NO.
I assume there is some WEB application which will do this but I only do Access but willing to learn if anyone has ideas.
Thanks.
If I highlight the name of my cross-tab query within the queries tab and then select the menu items "Insert" ... "Form" and then click "Autoform: Tabular" this makes the form I want, creating the correct number of columns for what ever my cross-tab query requires! Simple but effective.
I know this sounds like a pivot table but a pivot table is a bit much for just showing dates.
How can I call this same process from VBA, say for example a command button? [/color red]
If I can get this to work my thoughts were to make a copy of the cross-tab query, renaming it with the users Environment variable and then creating the new form which will be saved with the new query name. I have to save with this process as we have many users on the database at the same time.
To help visualize the form,
1)Many Projects - Form will only show one
2)Variable Number of Tasks - These are rows so no problem there can have many as necessary.
3)Variable Number of Phases (Time Periods). Could be 5 could be 20 and as these are columns, here lies the problem.
4)If a date has been established for an Event and Project then it will appear in the proper column.
Yes, Yes, I know, I have been asked to recreate someones XLS sheet in Access but I cannot say NO.
I assume there is some WEB application which will do this but I only do Access but willing to learn if anyone has ideas.
Thanks.