Skip to Content
author's profile photo Former Member
Former Member

Joins in Crystal Reports

I am having trouble getting the data I need.

I have two tables.

1. Item Location table that has every item that is in a warehouse, both active and inactive items.

2. History table that contains all Issues of items, Transfers and Receipts ect...

I want to see ALL items from the Location table and if the item is in the History table I want to see that data. I just can not get the JOINS to work.

I appreciate any help.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 23, 2014 at 02:03 PM

    In the Database Expert, link FROM the location table TO the history table. Right-click on the link, select "Link Options", and make this a "Left Outer" join.

    This will set up the link correctly. However, if you're using any fields from the History table in the Select Expert, you'll need to do something like this:

    (IsNull({History.ItemID}) or


    <filters using the history table>



    Note the parentheses I used and also that the check for null MUST come before the check for other criteria (that's the way null works...)


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.