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

Retrieving records from both source and linked tables


I'm looking for some help with a report I'm trying to create in my ordering and invoicing system. This report compares the items and prices on an order with the items and prices on the related invoice.

The order table contains the fields:

ORDER_NO ITEM_NO ITEM_DESC PRICE 1 123456 Paper 2.00 1 234567 Staples 1.00

There are two invoice tables, one with header information and one with item information. The header table looks like:


The line table looks like:

INV_NO ITEM_NO ITEM_DESC PRICE 111 123456 Paper 2.00 111 345678 Different Staples 1.50

In this example, the paper is on both the order and invoice, but we ordered one type of staples and were invoiced for a different type of staples with a different item number.

I've created a report where I've linked the tables (the invoice table is the main table) using the Order number and the item number using a left outer join. The report contains: Invoice Number, Order Number, Item Number, Item Description, Invoice Price, and Order Price

This displays the two lines which were on the invoice - showing a null value in the Order Price column for the staples - but I'd like the report to also show the original order line, with a null value in the Invoice Price column.

Is that possible?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 10, 2016 at 01:18 PM

    Bump, anyone able to assist?

    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.