Hi Fehn,
In that case, a crosstab query will not be helpful because it produces a
read only recordset.
Tom
http://www.access.qbuilt.com/html/expert_contributors.html
__________________________________________
:
Thanks Tom.
I will wheck that link.
Just a brief history on why im doing this.
Before I have a databse that shows the following:
Date ProjectName NumHrs
1/1/05 Project01 4
1/1/05 Project02 4
1/2/05 Project01 4
1/2/05 Project01 2
1/2/05 Project01 2
etc.
My co workers doesn't like that form.
They want a to have all the days of the month showing up on the form and all
they need to do is put the project name and the corresponding hours that they
worked on days that they worked.
So I made that in excel. But I still want to use access.
Thanks.
__________________________________________
:
Hi Fehn,
Would you be happy with the results of a crosstab query, without attempting
to display the results in a form? If so, check out this link:
Crosstab Queries
http://www.access.qbuilt.com/html/crosstab_queries.html
While you can display the results of a crosstab query in a form, you will
need to use a bit of complicated VBA code if the dates are not static. At
this point, you'd probably be better off to use a PivotTable if you have
Access 2002 or later.
Tom
http://www.access.qbuilt.com/html/expert_contributors.html
__________________________________________
:
Please help, how can I show this in a form of an access database?
AutoID ProjectName 1/1/05 1/2/05 1/3/05 ...... 1/31/05
1 Proj01 4 Hrs 2 0 .... etc
2 Proj02 0 Hrs 2 0 .... etc
3 Proj03 4 Hrs 3 0 .... etc
4 Proj04 0 Hrs 1 8 .... etc
etc.
Thanks.