简体   繁体   中英

Splitting csv strings and display it in different fields?

So basically I'm designing a report which can record name and amount of individuals. Now, I have no idea how to implement this on my cr report. But I need to split the csv strings and put all the splitted value as columns.

Here is my sample cell

样品池

I have 2 sample columns, Name and amounts. Both columns represent individual cell. Name is a single cell seperated by newline and same as amount.

我想要的数据

In my desired output, I need to split all the values inside cell "Name" and put it in different column in Crystal Report and i also need to display the values of "Amount" Below the "Name". Which splitting is needed

Can this be theoretically be done? Any help is appreciated! Thank You!

Yes, simply use the menu option of Insert, CrossTab... to insert a crosstab in the report header or footer.

Select Name as the column field.

Select Amount as the field to summarize.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM