neilmcdonald
Technical User
- Aug 16, 2002
- 53
Hi,
I'm having some trouble joining tables in crystal reports 10. It's a SQL database using an ODBC connection.
There are 3 tables in the report:
Contract
Purchase Order
Purchase Invoice.
The report needs to be grouped by contract, then by purchase order, and then show the purchase invoices related to the purchase order.
The problem is this - some purchase orders have no invoices, but I still need them to appear. Secondly, some of the invoices are not linked to a purchase order, but again, these need to appear.
At present, I'm linking the purchase order table to the purchase invoice table, and the purchase invoice table to the contract. This gives me all of the purchase invoices I need, but misses out the purchase orders without invoices.
I've tried various join types, and I'm sure I'm missing something obvious.
I'd be grateful for any help you can give me.
Thanks,
Neil
I'm having some trouble joining tables in crystal reports 10. It's a SQL database using an ODBC connection.
There are 3 tables in the report:
Contract
Purchase Order
Purchase Invoice.
The report needs to be grouped by contract, then by purchase order, and then show the purchase invoices related to the purchase order.
The problem is this - some purchase orders have no invoices, but I still need them to appear. Secondly, some of the invoices are not linked to a purchase order, but again, these need to appear.
At present, I'm linking the purchase order table to the purchase invoice table, and the purchase invoice table to the contract. This gives me all of the purchase invoices I need, but misses out the purchase orders without invoices.
I've tried various join types, and I'm sure I'm missing something obvious.
I'd be grateful for any help you can give me.
Thanks,
Neil