J
javablood
I have used Duane Hookom's crosstab report samples at
www.RogersAccessLibrary.com for dynamic column headings to get one of my
reports that has different dates in the columns working. Well it does, work.
Thanks Duane. Now, I wonder if there is a way to have the columns with the
same date line up. For example, the report looks like:
Location1 Date1 Date 2
P1 v1 v1
P2 v2 v2
etc.
Location2 Date2
P1 v1
P2 v2
etc.
What I would like is:
Location1 Date1 Date 2
P1 v1 v1
P2 v2 v2
etc.
Location2 Date1 Date2
P1 ND v1
P2 ND v2
etc.
Where the Ps are chemicals, vs are concentrations, and ND is no data.
I have tried =IIf(IsNull([A]),"NS",[A]), where A is first column data and
this works to a point. However, if the first Location does not have data for
all the dates, then the subsequent date columns for the remaining Locations
will not line up.
Therefore, is there a way to have all the available dates across the columns
and then the body of the report will either be vs or NDs for the Locations
depending on available data?
Thanks for any help provided!
www.RogersAccessLibrary.com for dynamic column headings to get one of my
reports that has different dates in the columns working. Well it does, work.
Thanks Duane. Now, I wonder if there is a way to have the columns with the
same date line up. For example, the report looks like:
Location1 Date1 Date 2
P1 v1 v1
P2 v2 v2
etc.
Location2 Date2
P1 v1
P2 v2
etc.
What I would like is:
Location1 Date1 Date 2
P1 v1 v1
P2 v2 v2
etc.
Location2 Date1 Date2
P1 ND v1
P2 ND v2
etc.
Where the Ps are chemicals, vs are concentrations, and ND is no data.
I have tried =IIf(IsNull([A]),"NS",[A]), where A is first column data and
this works to a point. However, if the first Location does not have data for
all the dates, then the subsequent date columns for the remaining Locations
will not line up.
Therefore, is there a way to have all the available dates across the columns
and then the body of the report will either be vs or NDs for the Locations
depending on available data?
Thanks for any help provided!