Solved

Access autocomplete, autofill data entry based on another table

Posted on 2013-05-25
2
820 Views
Last Modified: 2013-05-26
Hi

I am using access 2010.  I have table called tblPeople with one field [Fullname] .

Example names in this table....  Galen Simpson,   Garnet Doe,  Gail Gaudet

I also have form that is bound to another table  ---   tblSales.

tblSales has been set up to only accept names that are found in tblPeople. In this example,  by the time 3 letters have been entered, Access should be suggesting the rest.

How is this done?
0
Comment
Question by:peispud
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 39196413
You need to use forms for data entry.
On your form you can use a combobox to provide the list of names to select from.

You can build the combobox using the wizard that runs when you add a combo to your form.

Names can and do change, so the normal practice is to store the record ID value from tblPeople in each record in rblSales.
The combo wizard assumes that this is what you want to do.  You can still select from the list using the name and display the name- again the wizard deals with this.
0
 

Author Closing Comment

by:peispud
ID: 39198143
Thank you for your reply.  I took your advise and assigned a record ID for the person as the reference.  I can see how this approach is very solid.

Have a great day.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now