Ok guys im used to making forms so I cant figure out why my code isnt working on this table im working on. I created a table called tblSPRINTGRIP2 which has a field called make and a field called model. When i design the table I did the lookup wizard on the data field for make so that it would create a drop down box. That part works fine. Now when the model field is clicked i need a drop down that displays only items that share an ID with tblSPRINTGRIP2.make.
Say the data in the make field is 1 then i click the drop down on the model field and it says "Enter Parameter Value" then below that it says "tblSPRINTGRIP2!make" and has an empty area. If I manually type in the data of 1 then the drop down shows the correct filtered information. Problem is I cant seem to reference it properly. Here is my current SQL code on the model field
Say the data in the make field is 1 then i click the drop down on the model field and it says "Enter Parameter Value" then below that it says "tblSPRINTGRIP2!make" and has an empty area. If I manually type in the data of 1 then the drop down shows the correct filtered information. Problem is I cant seem to reference it properly. Here is my current SQL code on the model field
Code:
SELECT dbo_tblCarModel.ID AS Expr1, dbo_tblCarModel.model AS Expr2 FROM dbo_tblCarModel WHERE (((dbo_tblCarModel.carMakeID)=(tblSPRINTGRIP2!make))) ORDER BY dbo_tblCarModel.model;