Results 1 to 3 of 3
  1. #1
    cap.zadi is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2011
    Location
    KSA
    Posts
    481

    Selecting a City name and region and country must be auto filling.

    Hi there,

    I have a form where 3 field for the customers to fill in "City" , "Region" and "Country". how is it possible if i just select a city name so the region and country can be auto in the form fields?


    hope to hear.


    regards

    zee

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    One way is to use a DLOOKUP statement in the "After Update" event VBA code of your City field to look up and populate the other two fields.
    Here a tutorial that deals with both topic, not too dissimilar from what you are trying to do.
    http://www.youtube.com/watch?v=ZmcGl...feature=relmfu

  3. #3
    cap.zadi is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2011
    Location
    KSA
    Posts
    481
    Thanks. it works.

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

Similar Threads

  1. Replies: 5
    Last Post: 08-28-2012, 03:23 PM
  2. Auto filling a field in a table. Help please
    By tdanko128 in forum Access
    Replies: 2
    Last Post: 01-18-2011, 12:22 PM
  3. Auto filling a form from table
    By JoScSM in forum Forms
    Replies: 1
    Last Post: 11-02-2010, 08:09 AM
  4. Auto Filling
    By tgavin in forum Forms
    Replies: 2
    Last Post: 08-02-2010, 10:47 AM
  5. Auto filling form fields
    By adamch29 in forum Forms
    Replies: 1
    Last Post: 07-25-2007, 06:22 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