A family of Microsoft relational database management systems designed for ease of use.
The likelihood is that the value of the Location foreign key column in the Key Inventory table is a long integer data type referencing the numeric primary key of the Locations table. The combo box has probably been set up with a RowSource property such as:
SELECT LocationID, Location FROM Locations ORDER BY :Location;
and the LocationID column has been hidden by setting the first dimension of the combo box's ColumnWidths property to zero
If this is the case, to restrict your query on the Location column it will be necessary to do so on the numeric value, not the string expression.
In an operational database it is unusual for a query to be restricted on a literal value. More commonly the parameter will be a reference to an unbound control in a dialogue form. In this case the control would be a combo box, set up in exactly the same way as the bound combo box, but with an empty ControlSource property. It would then be referenced in the query like this:
<>Forms![FormNameGoesHere]![UnboundComboBoxNameGoesHere]
If you do wish to use a literal value, however, then it would be an integer number, and not enclosed in quotes characters, e.g.
<> 42