[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Access autocomplete, autofill data entry based on another table

Posted on 2013-05-25
2
Medium Priority
?
849 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
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 …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

656 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