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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

12 Month rolling report query

Status
Not open for further replies.

MissyEd

IS-IT--Management
Feb 14, 2000
303
GB
Hi

I have a table like so:

RecordID, DateCreated, DateCompleted, BranchID
1, 13-Dec-2000, 01-Jan-2001, 1
2, , 15-Feb-2001, 3
etc

I need to create a 12 month rolling report with a chart that counts the number of records per month created by each branch. There are only 4 branches but I can't figure out how to return them like so:

Month, Year, CountOfCompletedCasesForBranch1, CountOfCompletedCasesForBranch2, CountOfCompletedCasesForBranch3, CountOfCompletedCasesForBranch4.

I used a subquery but it does not appear to return any records. Help! Missy Ed
Looking to exchange ideas and tips on VB and MS Access development as well as office 97 development. Drop me a line: msedbbw@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top