J
jason
How do I do a subselect on audListings].[Status_ID] to obtain its consequent
NAME value in the table tblMarketStatus based on the AudListings.Status_ID
which is the primary key in tblMarketStatus as I wish to display the name as
well as the ID. Here is how the query looks at the moment - it is a
omparison query put together with the help of Douglas Steele (Thanks Man! -
works great!)
SELECT [tblListings].[ListingsID], "Market Status has changed" AS Flag,
[tblListings].[Name], [tblListings].[Status_ID],
[tblMarketStatus].[Market_Status], [audListings].[Status_ID],
[audListings].[AudCreationDate]
FROM tblMarketStatus INNER JOIN (tblListings INNER JOIN audListings ON
[tblListings].[ListingsID]=[audListings].[ListingsID]) ON
[tblMarketStatus].[MarketStatusID]=[tblListings].[Status_ID]
WHERE ((([tblListings].[Status_ID])<>[audListings].[Status_ID]));
Cheers
Jason
NAME value in the table tblMarketStatus based on the AudListings.Status_ID
which is the primary key in tblMarketStatus as I wish to display the name as
well as the ID. Here is how the query looks at the moment - it is a
omparison query put together with the help of Douglas Steele (Thanks Man! -
works great!)
SELECT [tblListings].[ListingsID], "Market Status has changed" AS Flag,
[tblListings].[Name], [tblListings].[Status_ID],
[tblMarketStatus].[Market_Status], [audListings].[Status_ID],
[audListings].[AudCreationDate]
FROM tblMarketStatus INNER JOIN (tblListings INNER JOIN audListings ON
[tblListings].[ListingsID]=[audListings].[ListingsID]) ON
[tblMarketStatus].[MarketStatusID]=[tblListings].[Status_ID]
WHERE ((([tblListings].[Status_ID])<>[audListings].[Status_ID]));
Cheers
Jason