List childs vertically
Posted: Mon Jan 19, 2009 7:12 am
Hi
We try to create a report (and finally export to excel) but can't figure out how to do this...
For example, we have the following hierachical data (name with contacts):
firstname: john
name: doe
contact1: type: email: value: john.doe@something.com
contact2: type: email, value: john@doe.com
contact3: type: phone, value: 555 11 22 33
contact4: type: instant, value: 12345676
Now we want to create a report in the followin format (one row for each name):
firsname | name | contact1 | value1 | contact2 | value2 | contact3 | value3
john | doe | email | john.doe@something.com | email | john@doe.com | phone | 555 11 2 33
Note that we should be able to limit the contacts to three items and that not every name has three contacts...
Ist there a way to do this?
Thanks for help!
Regards,
Chris
We try to create a report (and finally export to excel) but can't figure out how to do this...
For example, we have the following hierachical data (name with contacts):
firstname: john
name: doe
contact1: type: email: value: john.doe@something.com
contact2: type: email, value: john@doe.com
contact3: type: phone, value: 555 11 22 33
contact4: type: instant, value: 12345676
Now we want to create a report in the followin format (one row for each name):
firsname | name | contact1 | value1 | contact2 | value2 | contact3 | value3
john | doe | email | john.doe@something.com | email | john@doe.com | phone | 555 11 2 33
Note that we should be able to limit the contacts to three items and that not every name has three contacts...
Ist there a way to do this?
Thanks for help!
Regards,
Chris