Solved

Split Function to display entire Array

Posted on 2012-04-05
3
347 Views
Last Modified: 2012-06-27
I have a string that is delimited by the char "*", I would like to populate an array using the split function and display the entire array vertically within a different section of my report. This is what I have done thus far.

Detail section
Shared StringVar Array aryDesc;
aryDesc := split({Somefield.text}, "*")

Open in new window


How do I display the entire contents ?
0
Comment
Question by:mowit
3 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 37812601
Shared StringVar Array aryDesc;
Local stringvar result:="";
aryDesc := split({Somefield.text}, "*")
result:=join(aryDesc, Chr(10));
result

make sure the Can Grow property is set.
0
 

Author Comment

by:mowit
ID: 37812663
Is there a way to limit the number of results per page ?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 37814676
Not with that method.

How many do you want displayed on a page?

mlmcc
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now