Autofill multiple form fields based upon user selection
- From: churst5841@xxxxxxxxx
- Date: Wed, 31 Oct 2007 13:01:46 -0700
I have two tables (1) Customers and (2) Orders. The Customers table
stores information on the customers (e.g. company name, address, phone
number, etc.) and the Orders table stores information on customer
orders. I've created a form based upon the Orders table. I want the
user to be able to select a customer and that customer's information
to be automatically filled into the form.
To do this, I used a Combo Box. The Row Source for the Combo Box
selections is from the Customers table. In the Order form I set the
After Update of the customer Combo Box to:
CustomerAddress = Customer.Column(1)
And I set the Control Source of the CustomerAddress field to:
Customer.Column(1)
How can I have additional form fields automatically filled based upon
the Combo Box selection (e.g. city, state, zip etc.).
Thanks!
.
- Follow-Ups:
- Re: Autofill multiple form fields based upon user selection
- From: Larry Linson
- Re: Autofill multiple form fields based upon user selection
- Prev by Date: Re: How to keep one form on top in A97?
- Next by Date: Re: Can't use SendMessage...WM_PASTE with a regular Text Box
- Previous by thread: How to keep one form on top in A97?
- Next by thread: Re: Autofill multiple form fields based upon user selection
- Index(es):
Relevant Pages
|