Results 1 to 3 of 3
  1. #1
    chrisfl is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Mar 2013
    Location
    Minnesota
    Posts
    13

    Restrict data entry to preset list


    I'm sure this is pretty easy to figure out but I can't figure out how to phrase it for googling. I want an address field to draw from a list of preexisting addresses, so my data entry people aren't, for example, using 123 Fake Street vs. 123 Fake St. I'd like it if the appropriate address popped up as they type, like 123--- would be sufficient.

    Thanks!

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    Depending on where you want to implement this would change the specifics of the advice, so this may not be exactly what you want...but generically speaking; Microsoft recommends that novices use the LookUp field type when creating the table that is going to hold the data. One then has a separate table which exists with those addresses. One of the options in this field time is 'Limit to List'.

    When this field type exists in the table - then all the forms you create (sourced on this table) will automatically have drop downs (comboboxes) for this field.

    Hope this helps a little

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,631
    Lookups set in tables do serve to facilitate quick build of comboboxes if the field is selected and dragged from field list or use form build wizard. However, lookups can be annoying when viewing tables. As a developer, I want to see actual values when I view tables.

    For background on 'lookups' review:
    http://access.mvps.org/access/lookupfields.htm
    http://compgroups.net/comp.databases...y-evil/1485465

    For tutorials on comboboxes:
    http://datapigtechnologies.com/AccessMain.htm
    Go to the section on Access Forms: Control Basics
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 2
    Last Post: 10-25-2012, 02:39 PM
  2. Using Validation rules to restrict certain types of data entry.
    By Long Tom Coffin in forum Database Design
    Replies: 3
    Last Post: 07-23-2012, 10:38 AM
  3. Replies: 2
    Last Post: 04-05-2012, 08:39 PM
  4. Replies: 6
    Last Post: 04-27-2011, 06:12 AM
  5. Combo box/list for data entry.
    By geoffishere in forum Forms
    Replies: 1
    Last Post: 03-13-2010, 04:16 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