?
Solved

Access autocomplete, autofill data entry based on another table

Posted on 2013-05-25
2
Medium Priority
?
840 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 2000 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

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Suggested Courses

762 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