Solved

Split Function to display entire Array

Posted on 2012-04-05
3
357 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 101

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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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 …
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

623 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