Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Missing Months - select query not crosstab.

Status
Not open for further replies.

r0nniem

Technical User
Dec 22, 2005
28
AU
Hi there,

I've been searching around here for sometime on this topic with no luck.

Here's my data:

Year Month No Month Tech ALL Not COMP COMP %_COMP
2005 8 Aug 2005 Weipa 3 0 3 100.00%
2005 9 Sep 2005 Weipa 1 0 1 100.00%
2005 10 Oct 2005 Weipa 1 0 1 100.00%
2006 1 Jan 2006 Weipa 1 0 1 100.00%
2006 2 Feb 2006 Weipa 1 0 1 100.00%
2006 3 Mar 2006 Weipa 1 0 1 100.00%
2006 6 Jun 2006 Weipa 1 0 1 100.00%

How would you suggest I fill in the missing months and years? Is their a function I can write for this based on the form's date range?
 
I am not sure what the gurus suggest.. but I'd go for a new table that lists all the months and make a join with this query.

________________________________________________________
Zameer Abdulla
Help to find Missing people
Sharp acids corrode their own containers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top