I have a problem with a query I'm trying to build. I have a two tables. One is a Call Log that records every complaint a customer has when they call customer service. The Customer service rep will choose a complaint type from a combo box and then according to which complaint type they selected, I want the next combo box to display a list of complaints that correspond to that complaint type. My problem is this, I have created a new table listing a unique key called Complaint_Code, a Complaint_Type which corresponds/is related to the Complaint_Type which is the first combo box the user selects for the Call Log table, and the Complaint_Descriptions. There are three complaint types and 18 Complaint Descriptions. I can get the Complaint_Description combo box to display all of the Complaint_Description values but I can't get it to display only those that correspond to the Complaint_Type. I have an SQL statement in the Row Source field for the Complaint Description that states
SELECT tblComplaint.Complaint_Description
FROM tblComplaint
WHERE tblCallLog.Complaint_Type = tblComplaint.Complaint_Type
Every time I go to enter information, it asks what the Parameter values are for tblCallLog.Complaint_Type which is exactly the previous Combo_box I selected before.
Anyone?
SELECT tblComplaint.Complaint_Description
FROM tblComplaint
WHERE tblCallLog.Complaint_Type = tblComplaint.Complaint_Type
Every time I go to enter information, it asks what the Parameter values are for tblCallLog.Complaint_Type which is exactly the previous Combo_box I selected before.
Anyone?