Results 1 to 2 of 2
  1. #1
    james7705 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Oct 2014
    Location
    East London, South Africa
    Posts
    24

    AutoFill Fields on a Form

    I have a table (tblCustomers) with Fields - ID, FName, LName, ContactNumber, EMailAddress, Street, Suburb, City. The fields Street, Suburb and City get their values from another table, (tblReferenceData) with Fields - ID, Street, Suburb, City. Should I be using a lookup and relationship field on my table or should I use a query to fill my tblCustomers



    On my form I would like to select the street on a combo box, the suburb and city must autofill. How do I do this? Do i use a DLookup Function and how do I do that. Don't know anything about it. I only have macros and expressions on my database.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    1 field I may used dlookup
    many fields, query.
    The update query would get the id on the record you are editing, and update if from the [suburb] key in the other table.

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

Similar Threads

  1. Replies: 6
    Last Post: 04-24-2013, 03:19 PM
  2. autofill of fields
    By knuccio in forum Access
    Replies: 1
    Last Post: 08-16-2012, 05:16 PM
  3. Replies: 5
    Last Post: 09-14-2010, 09:50 PM
  4. Autofill form fields based on another field
    By ljs1277 in forum Access
    Replies: 3
    Last Post: 02-16-2010, 02:51 PM
  5. Autofill form fields
    By roboticsguy1988 in forum Forms
    Replies: 1
    Last Post: 08-10-2009, 08:56 AM

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