Solved

Split Function to display entire Array

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 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