autofill option

G

Guest

Is there a way to have an autofill option?
if I enter data in 1 field can it cross reference previous database entries
and autofill the other predefined fields?

Thank you
Andrew
 
B

BruceM

Probably, but some more details are probably needed. You can select an
entry from a combo box (a customer, for instance), then fill in the address
information automatically based on that selection. One way to do that is to
include the Customer table in the form's Record Source query. When you
select a customer from the combo box (in most cases you would see the
customer name, while the customer ID is the bound field), the fields that
are bound to CustomerAddress etc. will appear in the appropriate text boxes.
Since I don't know just what you need to accomplish, and therefore whether
this is anything like what you seek, I won't get into any more details just
yet.
 
J

Joseph Meehan

Is there a way to have an autofill option?
if I enter data in 1 field can it cross reference previous database
entries and autofill the other predefined fields?

Thank you
Andrew

It is difficult to tell exactly what you want to do. It should be
possible, but it may be undesirable.

If you are filling in data based on a formula and then saving it, you
are saving redundant data. Normally you would not save that data, but
retrieve or re-compute it any time you needed it. Access usually will work
faster and more reliably when you don't store redundant data.
 
G

Guest

Ultimately I would like to put in the loan officers name and the phone, city
state and log in id auto fill the rest of the form so I don't have to type
it each time.
the interface we use is a basic access name, log in id, phone, city, state
fields, type of problem text box--resolution text box and a few buttons to
start new call, close this call--
 
J

Joseph Meehan

Ultimately I would like to put in the loan officers name and the
phone, city state and log in id auto fill the rest of the form so I
don't have to type it each time.
the interface we use is a basic access name, log in id, phone, city,
state fields, type of problem text box--resolution text box and a few
buttons to start new call, close this call--

I doubt if you want to store this data with each record. What you do is
have a separate table with that information. When you input the loan
officer's ID (name, number or whatever) a link to a loanofficer table
retrieves that data to display it on the form, but should not store it
anywhere else.

Consider that if you store the data in each record and then if the data
changes, for example a new telephone number or address, then you may need to
edit hundreds or thousands of records to get them all updated. With a
linked (parent-child) table, you make one change and everything is changed.

Take a look at the Northwind sample database. It has examples of parent
child tables and relationships.
 

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