D
Damon Heron
I have four containers in my containers table. I want to eliminate the three
that are in my transactions table and just retrieve one. Here is my sql
code that won't return anything.
SELECT DISTINCT tblContainer.ContainerID, tblContainer.ContainerName,
tblContainer.BlockID
FROM tblContainer
WHERE (((tblContainer.BlockID)=[lstBlock].[Value])) and Not Exists (SELECT
tblTransactions.TransTypeID, tblTransactions.ContainerID,
tblTransactions.BlockID
FROM tblTransactions
WHERE ((tblTransactions.TransTypeID)=17));
There is a one to many relationship containers to transactions. Could that
have anything to do with my problem? Any help would be greatly appreciated.
that are in my transactions table and just retrieve one. Here is my sql
code that won't return anything.
SELECT DISTINCT tblContainer.ContainerID, tblContainer.ContainerName,
tblContainer.BlockID
FROM tblContainer
WHERE (((tblContainer.BlockID)=[lstBlock].[Value])) and Not Exists (SELECT
tblTransactions.TransTypeID, tblTransactions.ContainerID,
tblTransactions.BlockID
FROM tblTransactions
WHERE ((tblTransactions.TransTypeID)=17));
There is a one to many relationship containers to transactions. Could that
have anything to do with my problem? Any help would be greatly appreciated.