Ok please dont tear me apart to much, I will try my very best to explain what I'm trying to do.
I have 3 tables "Tble-PartProductCodeID", Tble-PartsLookup", Tble-ChamberCodes"
The Tble-PartProductCodeID hold the PartID and ChamberID.
The Tble-PartsLookup holds the Partnumber, description, and chambertype with a PartID that is linked to the PartID in tble-PartProductCodeID.
The tble-ChamberCodes holds the ChamberID and the Chambertype, the chamberID is also linked to the ChamberID in the tble-PartProductcodeID
So basically each chamber type has its own unique ID and each partnumber has its own unique ID as well.
So in a drop down list on a form I only want to see a list of parts that match a field on my form. On my form I have a field called ChamberType that will have a value but my list is blank. If I remove the criteria and run the query I get all the records in the partlookup. Here is my query SQL
I have 3 tables "Tble-PartProductCodeID", Tble-PartsLookup", Tble-ChamberCodes"
The Tble-PartProductCodeID hold the PartID and ChamberID.
The Tble-PartsLookup holds the Partnumber, description, and chambertype with a PartID that is linked to the PartID in tble-PartProductCodeID.
The tble-ChamberCodes holds the ChamberID and the Chambertype, the chamberID is also linked to the ChamberID in the tble-PartProductcodeID
So basically each chamber type has its own unique ID and each partnumber has its own unique ID as well.
So in a drop down list on a form I only want to see a list of parts that match a field on my form. On my form I have a field called ChamberType that will have a value but my list is blank. If I remove the criteria and run the query I get all the records in the partlookup. Here is my query SQL
Code:
SELECT [Tble-PartsLookup].PartID, [Tble-PartsLookup].PartNumber, [Tble-PartsLookup].Description, [Tble-PartsLookup].ProcessKitPart, [Tble-ChamberCodes].ChamberID, [Tble-ChamberCodes].Chambertype
FROM ([Tble-PartProductCodeID] INNER JOIN [Tble-PartsLookup] ON [Tble-PartProductCodeID].PartID = [Tble-PartsLookup].PartID) INNER JOIN [Tble-ChamberCodes] ON [Tble-PartProductCodeID].ChamberID = [Tble-ChamberCodes].ChamberID
WHERE ((([Tble-ChamberCodes].Chambertype)=[Forms]![Frm-RadiancePlusCentura]![PartList]));