Add Customer Info to an existing form

S

Sam Work

Please help a little stuck

I have:
Table 'tblCustomers' - Customer delivery details
Form 'frmOrders' - Product details

Within the frmOrders I need to enter the customer code (from tblCustomers)
so that it automatically calls up the rest of the information from that table.
Is the best way of going about this by using the subform function?
 
R

Rick B

This was answered twice in different posts yesterday. Please do a search.
No need for us to retype when the answer is out there for you.

Rick B

microsoft.public.access.forms Re: VB Code to Auto fill in combo boxes

microsoft.public.access.forms Auto Update a value in a field based on
another?
 
A

AlCamp

Sam,
If you have a lot of fields to display, using a subform of customer data
linked to the main form by CustID would be a good way to go. Use a combo
box to facilitate choosing a CustID

If you just have a few fields to show, you could use a combo with CustID
and any associated data in the columns. Then, an unbound text control could
be used to display the information in the combo columns.
For example, if the 3rd column contains CustCity, then a text control
with...
=cboCustID.Column(2)
would display the customer city. (Combo columns are numbered 0,1,2,3 etc)
hth
Al Camp
 
S

Sam Work

Thank you so much for your help.

Rick B said:
This was answered twice in different posts yesterday. Please do a search.
No need for us to retype when the answer is out there for you.

Rick B

microsoft.public.access.forms Re: VB Code to Auto fill in combo boxes

microsoft.public.access.forms Auto Update a value in a field based on
another?
 

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