Hi,
I have trouble show the data the way I have display. Can any one advice me on how to do this...is greatly apperciated
I have tbl where I will use 2 field's
1) attribute id
2) att_val_id
now there are different attribute id's and for each attribute id there a lot of att_val_id's.
ex: cat --is a attribute id and
white cat, black cat, brown cat, green cat ...so on are att_val_id and these are assigned to the units.
I have to separate the arrtibute Id selection and display the att_val_id's as 6 different Columns.
For this Iam using formulas @1,@2,@3...@6
in @1:
if attribute_id = 'cat' then
att_val_id
else
'N/A'
in @2"
if attribute_id = 'dog' then
att_val_id
else
'N/A'
I am displaying these 6 formulas as columns in the report. But I get six rows for the same unit.
How can I display all the values in one row for each unit?
This is how I get
unit name @1 @2 @3 ...... @6
100 aaa whitecat n/a n/a n/a
100 aaa n/a blackdog n/a n/a
100 aaa n/a n/a mat n/a
...
...
100 aaa n/a n/a n/a whatever
I need to display as
unit name @1 @2 @3 ...... @6
100 aaa whitecat blackdog mat whatever
I hope you guys understand what Iam trying to tell.
Thanks,
Sweetie
I have trouble show the data the way I have display. Can any one advice me on how to do this...is greatly apperciated
I have tbl where I will use 2 field's
1) attribute id
2) att_val_id
now there are different attribute id's and for each attribute id there a lot of att_val_id's.
ex: cat --is a attribute id and
white cat, black cat, brown cat, green cat ...so on are att_val_id and these are assigned to the units.
I have to separate the arrtibute Id selection and display the att_val_id's as 6 different Columns.
For this Iam using formulas @1,@2,@3...@6
in @1:
if attribute_id = 'cat' then
att_val_id
else
'N/A'
in @2"
if attribute_id = 'dog' then
att_val_id
else
'N/A'
I am displaying these 6 formulas as columns in the report. But I get six rows for the same unit.
How can I display all the values in one row for each unit?
This is how I get
unit name @1 @2 @3 ...... @6
100 aaa whitecat n/a n/a n/a
100 aaa n/a blackdog n/a n/a
100 aaa n/a n/a mat n/a
...
...
100 aaa n/a n/a n/a whatever
I need to display as
unit name @1 @2 @3 ...... @6
100 aaa whitecat blackdog mat whatever
I hope you guys understand what Iam trying to tell.
Thanks,
Sweetie