G
Guest
I'm pretty new to access coding so bear with me,
I have a call log db with the following tables:
Buyer Info Table:
Has BuyerID as key and has a "check Box field" called BuyerFilter, and some
other stuff like name, phone.
Call Log Table:
Has CallLogID as key, Date, Notes, & BuyerID field which is linked to the
Buyer table.
What I want to do is put a check box in my form that when checked, applies a
filter to the Call Log Form to show only records with Buyers that have the
BuyerFilter Checked in their table.
Here is the query that I made up that seems to work outside the form:
How do I code the form so that it applies this filter?
SELECT CallLog.LogDate, CallLog.BuyerID AS CallLog_BuyerID, CallLog.Notes
FROM Buyers INNER JOIN CallLog ON Buyers.BuyerID = CallLog.BuyerID
WHERE (((Buyers.BuyerFilter)=True));
Thanks
Mikez
I have a call log db with the following tables:
Buyer Info Table:
Has BuyerID as key and has a "check Box field" called BuyerFilter, and some
other stuff like name, phone.
Call Log Table:
Has CallLogID as key, Date, Notes, & BuyerID field which is linked to the
Buyer table.
What I want to do is put a check box in my form that when checked, applies a
filter to the Call Log Form to show only records with Buyers that have the
BuyerFilter Checked in their table.
Here is the query that I made up that seems to work outside the form:
How do I code the form so that it applies this filter?
SELECT CallLog.LogDate, CallLog.BuyerID AS CallLog_BuyerID, CallLog.Notes
FROM Buyers INNER JOIN CallLog ON Buyers.BuyerID = CallLog.BuyerID
WHERE (((Buyers.BuyerFilter)=True));
Thanks
Mikez