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

Crosstab Report

Status
Not open for further replies.

SimonPGreen

IS-IT--Management
Mar 8, 2004
116
GB
Need some help here as I am not sure the best way to accomplish this.

I have a query that generates data as follows:

[PackageNo] [Date] [Amount]
12345 2/3/2007 100.00
12346 12/3/2007 500.00

I would like to report this in the format

[2/3/2007] [12/3/2007]
12345 100.00
12346 500.00
Totals 100.00 500.00

Is a Crosstab report the mechanism to do this? I am also going to need to do some more complex stuff like calculate the week ending that the payment falls into and use that rather that the actual payment date, some conditional formatting depending on payment status and sum at the bottom.

Appreciate any guidance you can give as reporting in Access is pretty new to me.

Regards,

Simon
 
yes, you'll need a crosstab to do this.

I suggest making a query to calculate the date first, and then make a crosstab query on top of this new query.


--------------------
Procrastinate Now!
 
There is a solution for a monthly crosstab report at faq703-5466. You should be able to modify this for daily.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top