Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

making line break in place where you want 1

Status
Not open for further replies.

olitvinov

Programmer
Oct 21, 2004
47
CA
I have two list of values(two variables) each in it's own single string:

"Lane,Drop Distance,Empty Count,Allowed Threshhold,Applied Count"
"1,4.07,49,73,122"

I need them to be output in this format(two columns):

Lane 1
Drop Distance 4.07
Empty Count 49
Allowed Threshhold 73
Applied Count 122

output goes in report footer.

using CrystalReports XI
Any ideas?
Oleg
 
Create an array and then use the split funciton, as in:

whileprintingrecords;
stringvar array A := split("Lane,Drop Distance,Empty Count,Allowed Threshhold,Applied Count",",");
join(A,chr(13))

Then you can create another formula for the other variable (or just convert them each to arrays and use them), palce them alongside each other, and make sure that you turn on can grow formatting.

-k
 
thanks a lot it did it.

I'm also looking into self education.
Do you know any good books on Crystal Reports (XI preferebly)?
Oleg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top