Solved

Crystal Reports: One field - multiple names

Posted on 2014-02-19
1
260 Views
Last Modified: 2014-02-19
I have a table called SOURCE_EXTID for external ID's and their types. The two fields I'm trying to use are ID and TYPE.  

One sample that comes in can have multiple ID types and values. When the techs enter the info on the sample, the have a drop down list to choose as many types as they need eg. Ear Tag, Brand, Patient Ext. ID, QA Number, Name, etc.
So, my SOURCE_EXTID.type can have one, none, or multiple values that I then need to match up to the actual ID.

On my report, i have two groups from other tables FOLDERNO which gives me the case number that sample is in and then ORDNO which gives me that specific sample info.
Now I need to create multiple columns, specifically where SOURCE_EXTID.TYPE = 25 (name) and one for SOURCE_EXTID.TYPE = 26 (QA Name) and then show it's matching ID's.

I created a formula for one of them that looks like this:
IF {SOURCE_EXTID.TYPE} = 25 THEN {SOURCE_EXTID.ID} ELSE " "

thinking it would show it but it's just staring at me completely blank.  I've placed it on the group header, the footer, and I get nothing. I thought about adding a crosstab but this is going to be exported to Excel so I can't have too much formatting going on.

Any ideas?
0
Comment
Question by:CAHFS
1 Comment
 

Accepted Solution

by:
CAHFS earned 0 total points
Comment Utility
Never mind. I created two views and solved the problem :) Yay me!
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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 …
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now