I have searched for 3 days trying to find an answer to this and either I'm not phasing it correctly, it is simply impossible, or I'm the only person in the history or histories to ever try this. Access 2010 web database....
Combo box with a record source of a very simple query, something like:
Select clientID from tblClients
Instead of selecting the whole table, I would like to restrict the values by a value that I pass to the query either by macro or another field within the same form or a parent form, something that would look like this:
Select clientID from tblClients where agency = *[Passed value]*
Nothing works,
I've tried programmatically setting the Filter property of the query...ERROR
Modifying SQL code to reference a tempvar and a localvar....ERROR
I can't even reset the control source to a custom SQL
Is there anyway to solve this?