B
Barbara Waller
Using Access97 (with Windows XP)
I am trying to create weekly activity report that shows how many calls were
made to each client by day and then give a total of calls for the week. It
would look like this:
Customer
Mon
Tue
Wed
Thur
Fri
Total
Jones
1
3
4
Peach
1
1
1
1
4
ZipIt
1
1
3
2
1
8
My report is based a crosstab query. The crosstab pulls information from a
query that counts the number of visits by date by calendar date i.e.:
1/3/05, 1/4/05, etc.
My problems are:
1. The crosstab won't work if the underlying query has a parameter (I ask
what the date range should be for the report.
2. The crosstab query returns the dates 1/3/05 and not the date of the week
"Monday" even though the underlying query is formatted to show just the day
of the week.
3. The report returns an error if there is no value for one day of the
week.
I tried putting in Column Headers in the Properties dialog box of the
crosstab query ("Monday","Tuesday","Wednesday","Thursday","Friday") but that
returns the error: "Data type mismatch in criteria expression."
I know how to create queries and have some experience with modules in
Access, but I am not an advanced user so please explain carefully.
Thank you.
BW
I am trying to create weekly activity report that shows how many calls were
made to each client by day and then give a total of calls for the week. It
would look like this:
Customer
Mon
Tue
Wed
Thur
Fri
Total
Jones
1
3
4
Peach
1
1
1
1
4
ZipIt
1
1
3
2
1
8
My report is based a crosstab query. The crosstab pulls information from a
query that counts the number of visits by date by calendar date i.e.:
1/3/05, 1/4/05, etc.
My problems are:
1. The crosstab won't work if the underlying query has a parameter (I ask
what the date range should be for the report.
2. The crosstab query returns the dates 1/3/05 and not the date of the week
"Monday" even though the underlying query is formatted to show just the day
of the week.
3. The report returns an error if there is no value for one day of the
week.
I tried putting in Column Headers in the Properties dialog box of the
crosstab query ("Monday","Tuesday","Wednesday","Thursday","Friday") but that
returns the error: "Data type mismatch in criteria expression."
I know how to create queries and have some experience with modules in
Access, but I am not an advanced user so please explain carefully.
Thank you.
BW