T
Terry
I want to get a list of company names that we have in our database, that we
have not ever sent an invoice to. Why does the following query not work? I
have been banging my head on this for about an hour and can't figure it out.
Any help would be much appreciated.
SELECT [Companyinfo].[Name], [Companyinfo].[ID#] FROM [Companyinfo] WHERE
[Companyinfo].[ID#] NOT IN (SELECT [Link ID] FROM [Invoices]);
[Invoices].[Link ID] points to [Companyinfo].[ID#]
-- Terry
have not ever sent an invoice to. Why does the following query not work? I
have been banging my head on this for about an hour and can't figure it out.
Any help would be much appreciated.
SELECT [Companyinfo].[Name], [Companyinfo].[ID#] FROM [Companyinfo] WHERE
[Companyinfo].[ID#] NOT IN (SELECT [Link ID] FROM [Invoices]);
[Invoices].[Link ID] points to [Companyinfo].[ID#]
-- Terry