I have a tools stores database and am working on a form to issue tools from one location to another. I have set up combo boxes for:
from_location
to_location
tools_id
the tools_id combo box is based on a query which searches a tools_in_stock table for all the tools which are available in that location using the from_location value. This works ok i.e. the tools_id combo box is filled with those tools available at that location.
The problem is that whenever I select a tool in the tool_id combo box, it always reverts to the first tool in the box. I can't select any other tool.
the code for the query behind the tool_id box is:
SELECT tbl_tools_in_stock.loc_Id, tbl_tools.description, tbl_tools.serial_no
FROM (tbl_tools_in_stock INNER JOIN tbl_location ON tbl_tools_in_stock.loc_Id = tbl_location.loc_Id) INNER JOIN tbl_tools ON tbl_tools_in_stock.tools_Id = tbl_tools.tools_Id
WHERE (((tbl_tools_in_stock.loc_Id)=[Forms]![frm_issue_to_location]![from_location_id]));
Is there some way of allowing the user to only select any tool from tools available via this combo box?
from_location
to_location
tools_id
the tools_id combo box is based on a query which searches a tools_in_stock table for all the tools which are available in that location using the from_location value. This works ok i.e. the tools_id combo box is filled with those tools available at that location.
The problem is that whenever I select a tool in the tool_id combo box, it always reverts to the first tool in the box. I can't select any other tool.
the code for the query behind the tool_id box is:
SELECT tbl_tools_in_stock.loc_Id, tbl_tools.description, tbl_tools.serial_no
FROM (tbl_tools_in_stock INNER JOIN tbl_location ON tbl_tools_in_stock.loc_Id = tbl_location.loc_Id) INNER JOIN tbl_tools ON tbl_tools_in_stock.tools_Id = tbl_tools.tools_Id
WHERE (((tbl_tools_in_stock.loc_Id)=[Forms]![frm_issue_to_location]![from_location_id]));
Is there some way of allowing the user to only select any tool from tools available via this combo box?