You need to use the fields from the query.

Signature
KARL DEWEY
Build a little - Test a little
I'm not sure I follow. When I set this up, I used the instructions below
from another post...
Try not to use "absolute" column headings for dates. You could possibly use
"relative" dates. For instance:
Form: frmA
Text Box: txtEndDate
Table: tblSales
Field: SaleDate
You want to show 12 months of sales in columns of a crosstab report.
Set the with menuing: Query|Parameter
Forms!frmA!txtEndDate Date/Time
Use this expression for your Column Headings:
ColHead:"Mth" & DateDiff("m",[SaleDate],Forms!frmA!txtEndDate)
This will produce Mth0, Mth1, Mth2, Mth3,... where Mth0 is sales from the
same month as the ending date on your form. Mth1 is the previous month etc.
Set your queries Column Headings property to:
"Mth0", "Mth1", "Mth2", "Mth3",.., "Mth11"
Build your report based on these "relative" months. If you need column
labels in your report, use text boxes with control sources of:
=DateAdd("m",0,Forms!frmA!txtEndDate)
=DateAdd("m",-1,Forms!frmA!txtEndDate)
=DateAdd("m",-2,Forms!frmA!txtEndDate)
=DateAdd("m",-3,Forms!frmA!txtEndDate)
...
This solution requires no code and will run fairly quickly.

Signature
Duane Hookom
MS Access MVP
Sorry to be so dense, but do you have any other suggestions?
--
Leslie M
> You need to use the fields from the query.
>
[quoted text clipped - 19 lines]
> > > >
> > > > Thank you.
KARL DEWEY - 27 May 2008 20:51 GMT
When you run your crosstab query by it's self it should look like this --
xxxx Mth0 Mth1 Mth2 Mth3 .... Mth11
XYZ 1 4 0 1 6
ABC 3 2 5 4 2
If it does then open your report in design view, click on menu VIEW - Field
List. Drag the fields for the months (Mth0 Mth1...) into position in your
report design.

Signature
KARL DEWEY
Build a little - Test a little
> I'm not sure I follow. When I set this up, I used the instructions below
> from another post...
[quoted text clipped - 49 lines]
> > > > >
> > > > > Thank you.
Leslie M - 27 May 2008 21:22 GMT
That's exactly how the query looks, but I'm trying to get the report labels
to show the actual month rather than a relative month, i.e. May, Apr, Mar,
etc. rather than Mth0, Mth1, Mth2. Any thoughts?

Signature
Leslie M
> When you run your crosstab query by it's self it should look like this --
> xxxx Mth0 Mth1 Mth2 Mth3 .... Mth11
[quoted text clipped - 58 lines]
> > > > > >
> > > > > > Thank you.
Leslie M - 28 May 2008 15:44 GMT
Karl,
I was able to resolve my problem. There was an error in the code for the
form. Thanks for your efforts on my behalf.

Signature
Leslie M
> That's exactly how the query looks, but I'm trying to get the report labels
> to show the actual month rather than a relative month, i.e. May, Apr, Mar,
[quoted text clipped - 62 lines]
> > > > > > >
> > > > > > > Thank you.