Showing all months

M

Mike Dinnis

Hello,

I'm trying to create a query that returns all months of a year (Jan - Dec),
but not all months will have data to report upon. How can I fool the query
into showing all months regardless of the data?

Cheers,

<M>ike
 
J

John Vinson

Hello,

I'm trying to create a query that returns all months of a year (Jan - Dec),
but not all months will have data to report upon. How can I fool the query
into showing all months regardless of the data?

If it's a Crosstab query, set the Headers property to
"Jan";"Feb";"Mar";<etc>

If it's not, create a little twelve-row table with the month names in
it and Outer Join it to your query.
 
M

Mike Dinnis

Thanks,

I've created a new table as suggested and linked it. I find it best to left
join so that all records from teh month table are shown and only those from
the other table that match are shown. It foorces all months to appear.

<M>ike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top