Click here to Skip to main content
14,695,670 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
hello, i am using crystal report in windows form based application for reporting purpose.

i have a string stored in sql server 2005.
for ex. text1,text2,text3,text4

i want to show this string in crystal report like.

text1
text2
text3
text4

i have used this code
stringVar array x := split({database.column_name},",");

Local numberVar i;

Local stringVar outputString := "";

For i:=1 to Count(x) do

(

outputString := outputString + x[i] + Chr(10)

);

outputString;

outputString gives the desired result but we need to fix the layout size as per your requirement.

if we have 10 text to show but due to size limit it will show as per the size.

can we dynamically grow the size of layout as per the string.

please help me regarding this problem
Posted
Updated 13-Aug-15 23:21pm
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900