G
Gavin Webb
I am trying to retrieve three different fields from a
record in a table with a WHERE clause using the value
entered in a text box in a form.
So far, I have got a SELECT query that returns the three
fields I need. I don't know how to get those three fields
from the table or query into fields I can use in the code
of the form. All it does at the moment is display the
results in a table.
DoCmd.OpenQuery "Qry_SelUserDetails", acViewPreview,
acReadOnly
I can see that I could return one value at a time by using
DLOOKUP on Qry_SelUserDetails three times in a row.
Is there a better way?
Thanks
Gavin
record in a table with a WHERE clause using the value
entered in a text box in a form.
So far, I have got a SELECT query that returns the three
fields I need. I don't know how to get those three fields
from the table or query into fields I can use in the code
of the form. All it does at the moment is display the
results in a table.
DoCmd.OpenQuery "Qry_SelUserDetails", acViewPreview,
acReadOnly
I can see that I could return one value at a time by using
DLOOKUP on Qry_SelUserDetails three times in a row.
Is there a better way?
Thanks
Gavin