F
Furlong
I'm having one of those days. Here's the trouble: I have a table of names
(let's call it tblNames) and a related table of log entries (let's call it
tblLog) which correspond to those names. Some names have no log entries
while others have many. I want to query tblNames for all the entries that
have no log entries in tblLog. I'm sure I've done it before and I think it
was even pretty easy but I'm having a senior moment this afternoon and I
could use a hand with the sql statement for this. In case it's helpful
here's how the data currently looks:
Tables:
tblNames.ID_Names (Integer - Autonumber - Key)
tblNames.FirstName (text)
tblNames.LastName (text)
tblLog.ID_Log (Integer - Autonumber - key)
tblLog.Match (integer)
tblLog.Entry (memo)
Relationship:
One-to-Many tblName.ID_Names to tblLog.Match
Your help will be greatly appreciated! Thanks!
(let's call it tblNames) and a related table of log entries (let's call it
tblLog) which correspond to those names. Some names have no log entries
while others have many. I want to query tblNames for all the entries that
have no log entries in tblLog. I'm sure I've done it before and I think it
was even pretty easy but I'm having a senior moment this afternoon and I
could use a hand with the sql statement for this. In case it's helpful
here's how the data currently looks:
Tables:
tblNames.ID_Names (Integer - Autonumber - Key)
tblNames.FirstName (text)
tblNames.LastName (text)
tblLog.ID_Log (Integer - Autonumber - key)
tblLog.Match (integer)
tblLog.Entry (memo)
Relationship:
One-to-Many tblName.ID_Names to tblLog.Match
Your help will be greatly appreciated! Thanks!