HEre is a post from earlier today that points out one way to grab several
fields from another table and use them in your form. This is a very common
practice and if you search the newsgroups you will find lots of examples.
Rick B
The attached let's the user pick a Customer from the list, then fills in
other fields with information about that customer (similar to what you are
trying to do).
------------------------------------------------
Hi, Dave.
Maybe the easiest way to implement this is to include the Customer Rate as a
column in a combo box for the Customer Number and use the Column property of
the combo box. Something like the following for the combo box' RowSource
property:
SELECT Customers.CustomerID, Customers.Name, Customers.CustomerRate FROM
Customers ORDER BY Customers.Name;
Then set the DefaultValue property of the form field that stores the Rate
to:
=Me!MyComboBox.Column(2)
Hope that helps.
Sprinks