Results 1 to 4 of 4
  1. #1
    shaunism is offline Novice
    Windows 10 Access 2007
    Join Date
    Feb 2017
    Posts
    2

    Limiting field choices based on a previous field

    Hello,

    I have some experience with Access, but only using the GUI - I cannot code the SQL myself.

    With that said, here is what I am trying to build a form where the choices for one field are dependant on the previous field. For example, say I have colours available based on a car model:

    Cars: SuperCar
    DuperCar

    SuperCar's available colours: Yellow
    Red
    Blue

    DuperCar's available colours: Yellow
    Green


    Purple

    So when I have a form, I want the two fields to be:

    Car:
    Colour:

    But the options available in Colour depend on the Car that is chosen.

    Cheers,
    Shaun

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    A couple of ways:

    Baldy-Cascading Combos
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    shaunism is offline Novice
    Windows 10 Access 2007
    Join Date
    Feb 2017
    Posts
    2
    Quote Originally Posted by pbaldy View Post
    A couple of ways:

    Baldy-Cascading Combos

    Thank you. Is there a way to do that with the GUI rather than SQL?

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    You can use a query built with the GUI for the first method.
    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: 12-07-2016, 09:28 PM
  2. Replies: 1
    Last Post: 11-14-2016, 10:36 AM
  3. Replies: 4
    Last Post: 05-02-2014, 02:08 PM
  4. Replies: 4
    Last Post: 01-23-2014, 04:34 PM
  5. Replies: 1
    Last Post: 05-25-2011, 08:37 AM

Tags for this Thread

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