Results 1 to 5 of 5
  1. #1
    Raggy is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Posts
    2

    getting existing customer data to populate on my form


    I am an getting started with my first form on Access 2010. I very new to using database.


    I want to know how I would get existing customer data to populate on my form, say based on a customer’s last name, saving time typing in same customer entries every time.

    In other words If I select a last name from a list when adding to my form, I need the first name, phone, and address to automatically fill into the other record entries automatically without having to type them in all the time. Is this possible??

    Here is a rough layout of what I mean.

    Last Name____First ____Address___ __Phone
    Doe _________John ____101 sill lane __658-588-9912
    (picked from list) (automatically filled in field based on last name choice)

    If I select the last name from a list, can I get first Address and Phone to automatically fill in the fields once I pick the last name.

  2. #2
    justauser is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2012
    Posts
    15
    You will need to link the fields on your form back to the table that you are storing the records. You can do this by setting the form's record source to the table that will keep the records. This is set in the properties table under data. Then you will need to click on each of the fields and set the control source to the fields in your table. This is also done in the same are on the properties table.

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    This type of thing?

    BaldyWeb - Autofill
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    Raggy is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Posts
    2
    Quote Originally Posted by justauser View Post
    You will need to link the fields on your form back to the table that you are storing the records. You can do this by setting the form's record source to the table that will keep the records. This is set in the properties table under data. Then you will need to click on each of the fields and set the control source to the fields in your table. This is also done in the same are on the properties table.

    I tried this approach. But you still have to select each piece of data from list. I am trying to get each field in record to automatically fill in the box when a last name is selected. Say I put Smith in the first box, then it should know from the table that first name is John and address is say 111 wood st. and automatically put that in the first name field, and address field.

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    Did you see post 3?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 01-27-2012, 04:47 PM
  2. Replies: 1
    Last Post: 12-24-2011, 08:48 AM
  3. Replies: 6
    Last Post: 04-27-2011, 06:12 AM
  4. Populate existing records from Excel
    By oleBucky in forum Import/Export Data
    Replies: 2
    Last Post: 03-08-2011, 12:23 AM
  5. Replies: 0
    Last Post: 02-09-2011, 03:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums