Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Crystal Reports - problem displaying informationwith common fields

Posted on 2014-02-24
Medium Priority
Last Modified: 2014-02-25
I'm having a problem getting a particular field to display properly.  There are two tables and her is the issue:



The tables are linked:
table1.original_original_vendor_id ----> table2.vendor_id (full outer join)
table1.vendor_to_send ----> table2.vendor_id (full outer join)

I'm using full outer joins because there is not always data to populate each record.  Sometimes they are blank and that's okay.

The report correctly displays both table1.original_original_vendor_id  and table1.vendor_to_send, but when I drop in table2.vendor_name, nothing is displayed.

How can I get the table2.vendor_name to display when it is linked to both table1.original_original_vendor_id  and table1.vendor_to_send?
Question by:GStoner
  • 4
  • 3
LVL 101

Accepted Solution

mlmcc earned 2000 total points
ID: 39883298
You can't unless there are records where both table1.original_original_vendor_id   and table1.vendor_to_send have the same value.

You are linking to 1 record in table2 on a single field.

I think what you want is to add table 2 in twice and link it once to each table1 value.

You end up with 2 copies of table2 table2 and table2_1

table1.original_original_vendor_id ----> table2.vendor_id (full outer join)

table1.vendor_to_send ----> table2_1.vendor_id (full outer join)


Author Comment

ID: 39883406
table1.original_original_vendor_id   and table1.vendor_to_send  do have the same values.

I did not know you could add a table twice as an alias.  I followed that suggestion and liked them separately and the report works fine.

Once again - thank you for your help and quick response.

Author Comment

ID: 39885496
I've requested that this question be closed as follows:

Accepted answer: 0 points for GStoner's comment #a39883406

for the following reason:

See my last comment.
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

LVL 101

Expert Comment

ID: 39883888
Why accept your comment when my comment answered the issue.


Author Comment

ID: 39885492
I accidentally selected my response instead of the actual solution.  Please cancel the close request so that I can choose the proper accepted answer.  Thanks

Author Closing Comment

ID: 39885497
Thanks for your help.
LVL 101

Expert Comment

ID: 39885689
No problem.  That is one reason the closure like that has a waiting period.


Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

Hi, I am very much excited today since I'm going to share something very exciting Tool used for Analytical Reporting and that's nothing but MICROSTRATEGY. Actually there are lot of other tools available in the market for Reporting Such as Co…
Hello, In my precious Article  (http://www.experts-exchange.com/Database/Reporting/A_15280-Create-Project-in-Microstrategy-Part-I.html)we saw the Configuration part for Microstrategy which included Metadata Creation and DataSource Preparation as …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses
Course of the Month14 days, 21 hours left to enroll

577 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