Hi Paul,
RunSQL only works with action queries (which is reasonable).
But you can create a query calling values from any (open) form, setting WHERE to
Forms!MyFormName!MyControlName
So when you don't close the form before, you can use that query.
Else you need to open a recordset like this...