简体   繁体   中英

How to print a string array downwards in crystal report?

I have a parameter field which is set to " one,two,three,four " I want it to be printed out like

one

two

three

four

I have tried splitting it with Split(numString, ',')

I can't figure out how to dynamically print out the strings

I want to be able to change how big an array i send to the parameter. So it will work for " one,two " and " one,two,three "

do this way:

Split(numString, ',')[1]&ChrW(13)&Split(numString, ',')
[2]&ChrW(13)&Split(numString, ',')[3]&ChrW(13)&Split(numString, ',')[4]

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