Solved

Crystal Reports reading field with multiple values separated with |

Posted on 2013-06-18
3
403 Views
Last Modified: 2013-06-19
I have a Crystal Report that is reading a field with multiple data values separated by | and Crystal Reports is returning only one value of the multiple values in the field.  For example, the values are 90001|90006|90008|90119.  Crystal Reports is returning only 90119.  Is there a formula or a method to return all four values?
0
Comment
Question by:garyjgs
3 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 39257535
SO you have a field with data like A | B |C |D

Crystal won't select data like that from a field.  There must be something else going on.

DO you have the field set to GROW on the report?

mlmcc
0
 
LVL 34

Accepted Solution

by:
James0628 earned 500 total points
ID: 39258878
To add a little to what mlmcc said, if you have a field that contains a string like "90001|90006|90008|90119", that's what you'll see in CR.  It doesn't know that that's supposed to be a list of values.  It's just a single string to CR.

 If you're not seeing the entire value that's in the field, it's probably just being cut off on the report (eg. too narrow).

 If you're trying to use the individual values in the string, what are you trying to do with them?

 If the field is supposed to contain a string like "90001|90006|90008|90119", but, no matter how wide you make the field, all that you see is "90119", then the problem is that your data is not what you think, and the field only contains "90119", not "90001|90006|90008|90119".  Or you're simply looking at the wrong field.

 James
0
 

Author Closing Comment

by:garyjgs
ID: 39260181
The writer of the report was trying to group on the values and it was returning the last value in the field.  When reviewing the detail line (unsupressed), the values were displayed correctly.
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

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. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

829 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