Hi,
I have been working on this issue for several weeks without success, any assistance would be much appreciated.
My database tracks the invoices related to shipments, each shipment can have as many as 20 different invoices raised against it, but not all shipments have the same invoices.
I have a query which shows all the invoices which are required for each shipment and I have a table which holds the data pertaining to each invoice as a record. Both the query and the table have a Shipment ID field allowing joins to be made.
I am trying to develop a query which will show the details of each "Expected Invoice" for the shipments AND where the invoice record has not yet been created a flag to show that that invoice is expected, but has not yet been raised (ie there is not yet a record for it in the table).
I have tried all sorts of joins and all sorts of approaches, but the best I have achieved is a list of the shipments which shows the invoices that have been raised and therefore have a record in the table. This even happens when I state that all records from the expected invoice query are to be shown in the join properties.
Can anyone tell me what I have to do to identify records which have not been created yet, ie if there is no record in the table, but the query says an invoice is expected tell me the invoice record is missing.
The "Expected Invoice" query reports each shipment as a row and each possible invoice as a column.
The "Invoice" table shows each invoice as a record with 2 fields identifying the type (Freight, Product, Tax etc) and sub type (Initial, Final, Supplementary) of invoice and a field which identifies which shipment it applies to.
Any help you can give me would be much appreciated.
I have been working on this issue for several weeks without success, any assistance would be much appreciated.
My database tracks the invoices related to shipments, each shipment can have as many as 20 different invoices raised against it, but not all shipments have the same invoices.
I have a query which shows all the invoices which are required for each shipment and I have a table which holds the data pertaining to each invoice as a record. Both the query and the table have a Shipment ID field allowing joins to be made.
I am trying to develop a query which will show the details of each "Expected Invoice" for the shipments AND where the invoice record has not yet been created a flag to show that that invoice is expected, but has not yet been raised (ie there is not yet a record for it in the table).
I have tried all sorts of joins and all sorts of approaches, but the best I have achieved is a list of the shipments which shows the invoices that have been raised and therefore have a record in the table. This even happens when I state that all records from the expected invoice query are to be shown in the join properties.
Can anyone tell me what I have to do to identify records which have not been created yet, ie if there is no record in the table, but the query says an invoice is expected tell me the invoice record is missing.
The "Expected Invoice" query reports each shipment as a row and each possible invoice as a column.
The "Invoice" table shows each invoice as a record with 2 fields identifying the type (Freight, Product, Tax etc) and sub type (Initial, Final, Supplementary) of invoice and a field which identifies which shipment it applies to.
Any help you can give me would be much appreciated.