I take it the query is not the record source for the form.
If the query returns just one record, you can use a DLookUp.
As Control source of an Unbound control:
=DLookUp("[FieldName]","QueryName")
If the query returns more than one record, add a where clause to the
above.
See DLookUp in VBA help as well as
Where clause + Restrict data to a subset of records.
You can also use the same expression in the form's Load event (not
Open event) to populate an unbound control:
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.