Solved

Split Function to display entire Array

Posted on 2012-04-05
3
354 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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 …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

710 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