G
Guest
Hi
I currently have a quote form with the quote details subform. The two are
related by quote ID. The quote has a controls selection combo box which i
want to use to filter the subform. The controls is like a category and I wnat
ot the user to only be able to select the correct options for that control in
the subform. I have created a query for the option selection on the subform
and can get it to select one control but only by specifying the id in the
where function of sql.
Is there a way to get it to select the controls id from what is on the quote
form.
Here is the query code.
SELECT Options.OptionID, Options.Option_Name, Options.Price,
Options.Labour_Hours, Options.Engineer_Hours, Options.Controls_ID
FROM Options
WHERE (((Options.Controls_ID)=1));
Thanks for your help
I currently have a quote form with the quote details subform. The two are
related by quote ID. The quote has a controls selection combo box which i
want to use to filter the subform. The controls is like a category and I wnat
ot the user to only be able to select the correct options for that control in
the subform. I have created a query for the option selection on the subform
and can get it to select one control but only by specifying the id in the
where function of sql.
Is there a way to get it to select the controls id from what is on the quote
form.
Here is the query code.
SELECT Options.OptionID, Options.Option_Name, Options.Price,
Options.Labour_Hours, Options.Engineer_Hours, Options.Controls_ID
FROM Options
WHERE (((Options.Controls_ID)=1));
Thanks for your help