Filling Fields Automatically

C

Chris

I have a form that I am using for receiving in Purchase
Orders. When the user types in the PO# I would like the
Vendor Name to be pulled from a different table and appear
on a field in my form. How can I do this?
 
K

Ken Snell

Check out the DLookup function in Help and use it as the control source for
the textbox:

Example:

= DLookup("FieldName", "TableName", "[PrimaryKey] = " &
[NameOfControlOnForm])
 

Ask a Question

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.

Ask a Question

Top