Solved

Split Function to display entire Array

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
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 …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

856 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