E
elena
Hi, All
i need help with crosstab query which combine data from different tables,
where in first two tables fld1 related to field "shortname" in the third
table. Is it possible at all? Please, help
Example:
Table 1:
fld1 fld2 fld3
Len1 3/3/2008 100
len2 4/1/2008 200
lena1 1/1/2008 150
lena3 2/1/2008 224
Lee 1/1/2008 500
Table 2:
fld1 fld2 fld3
lee 6/3/2008 96700
lee1 2/1/2008 1200
lee2 3/1/2008 1650
lee1 1/4/2008 22554
Lee1 1/9/2008 55700
Table 3: (short/long naming)
Len1 Lena
len2 Lena
lena1 Lena
lena3 Lena
lee Leeza
lee1 Leeza
Result that I need:
Jan(tbl1) Jan(tbl2) Feb(tbl1) Feb(tbl2) Etc…
Lena sum() sum()
Leeza sum() sum()
i need help with crosstab query which combine data from different tables,
where in first two tables fld1 related to field "shortname" in the third
table. Is it possible at all? Please, help
Example:
Table 1:
fld1 fld2 fld3
Len1 3/3/2008 100
len2 4/1/2008 200
lena1 1/1/2008 150
lena3 2/1/2008 224
Lee 1/1/2008 500
Table 2:
fld1 fld2 fld3
lee 6/3/2008 96700
lee1 2/1/2008 1200
lee2 3/1/2008 1650
lee1 1/4/2008 22554
Lee1 1/9/2008 55700
Table 3: (short/long naming)
Len1 Lena
len2 Lena
lena1 Lena
lena3 Lena
lee Leeza
lee1 Leeza
Result that I need:
Jan(tbl1) Jan(tbl2) Feb(tbl1) Feb(tbl2) Etc…
Lena sum() sum()
Leeza sum() sum()