G
Guest
Hi folks. I need some help. I'm using Access 2002, and I like the way the
pivottables work with groupings, but the drilldown buttons and pulldown lists
that are offered to the user take up too much real estate for what I just
want to be a printable report. I was therefore considering a crosstab.
I basically have three values that I want to cross: Mature, Juvenile and
Seedling for each line number, which I wanted as a column, the interval being
the row. For example
Line 1 Line 2
Line 3 ...etc
Interval Mature Juvenile Seedling Mature Juvenile Seedling
0 to 10 0 2 1 1 4 7
10 to 20 3 0 19 0 0 13
20 to 20 1 0 9 0 0 8
I tried three separate queries, concatenating "Mature" and the Line Number
to each column, but when bring them together, the sort order for the columns
doesn't order in the way that I want; for something that will be dynamic,
with variable number of lines, I don't think I can just input the Column
headers in the property window. If anyone has any thoughts on this, please
let me know. Below is my table structure.
accesskastle
tblINTRESID
INTRESID-PK Counter
LINECOVERID-FK from tblLINECOVERID
LINKINTSTID-FK from tblLINKINTSTID
MATURE- Long
JUVENILE- Long
SEEDLING- Long
tblLINKLINEID
LINKLINEID-PK Counter
LINKWGBID-Long
LINENOID-Long
tblLINKINTSTID
LINKINTSTID-PK Counter
LINKLINEID-FK from tblLINKLINEID
INTSTID- FK from tblINTSTID
tblINTSTID
INTSTID-PK Counter
INTCALLED-Text
INTST-Long
INTEND-Long
tblLINECOVERID
LINECOVERID-PK Counter
WGBRESID-FK From tblWGBRESID
LINKLINEID-FK from tblLINKLINEID
tblWGBRESID
WGBRESID-PK Counter
WGBDATE-Date
LINKWGBID-Long
pivottables work with groupings, but the drilldown buttons and pulldown lists
that are offered to the user take up too much real estate for what I just
want to be a printable report. I was therefore considering a crosstab.
I basically have three values that I want to cross: Mature, Juvenile and
Seedling for each line number, which I wanted as a column, the interval being
the row. For example
Line 1 Line 2
Line 3 ...etc
Interval Mature Juvenile Seedling Mature Juvenile Seedling
0 to 10 0 2 1 1 4 7
10 to 20 3 0 19 0 0 13
20 to 20 1 0 9 0 0 8
I tried three separate queries, concatenating "Mature" and the Line Number
to each column, but when bring them together, the sort order for the columns
doesn't order in the way that I want; for something that will be dynamic,
with variable number of lines, I don't think I can just input the Column
headers in the property window. If anyone has any thoughts on this, please
let me know. Below is my table structure.
accesskastle
tblINTRESID
INTRESID-PK Counter
LINECOVERID-FK from tblLINECOVERID
LINKINTSTID-FK from tblLINKINTSTID
MATURE- Long
JUVENILE- Long
SEEDLING- Long
tblLINKLINEID
LINKLINEID-PK Counter
LINKWGBID-Long
LINENOID-Long
tblLINKINTSTID
LINKINTSTID-PK Counter
LINKLINEID-FK from tblLINKLINEID
INTSTID- FK from tblINTSTID
tblINTSTID
INTSTID-PK Counter
INTCALLED-Text
INTST-Long
INTEND-Long
tblLINECOVERID
LINECOVERID-PK Counter
WGBRESID-FK From tblWGBRESID
LINKLINEID-FK from tblLINKLINEID
tblWGBRESID
WGBRESID-PK Counter
WGBDATE-Date
LINKWGBID-Long