Hi,
One way would be to create a formula to concatenate the fields in the report with commas as needed:
@CSV
Code:
{table.field1}+ "," + {table.field2} + "," ....
Place this formula in the report instead of the actual fields.
NOTE: If any of the fields can be NULL, test for that before including that field in the concatenated string.
To Paraphrase:"The Help you get is proportional to the Help you give.."
Thanks Turkbear for the quick response but I have a few questions. Does this concatenate all the data returned for the field or just the number of fields I specify? So, if I have a field for medication names (say 15 different medicaitons) and want to return the medication names horizontally with a comma between each name will this automatically do that for every med or do I need to specify in the formula the number of meds I want horizontally with a comma?
In the thread you provided, it seems like he is concatenating fields of different tables when I want to concatenate the rows returned for that field. Also, can I use this in a subreport?
Sorry LB, I didn't. I ended up sending that after reading your post. Thank you for your help. Being somewhat of a novice, I have the fields I want to pull in the subreport but no group headings, just a report header and details section. Does this change your post?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.