Results 1 to 5 of 5
  1. #1
    balexa5701 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2017
    Posts
    1

    Post Cascading List

    Good morning,



    I am a local military training manager for a unit within my hospital. I am trying to build an employee for with a cascading list. I am new to Access and I am stumped on how to do this. I have looked up how to do so, without a lot of luck. Can someone help me write this code and tell me how to put it in the DB?

    File Name: DMS Database
    Form Name: Employee Data

    Parent Field Name: Department of_:Label; Caption: Department of
    Parent List name: ListDepartment; Control Source: Department of, Row Source:SELECT [Department].[Department of] FROM Department;

    Dependent Field Name: Service_Label; Caption: Service
    Dependent List name: ListService; Control Source: Department of, Row Source:SELECT [Department].[Department of] FROM Department;

    I appreciate all the help in advance.

  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,652
    Is this what you're after?

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

  3. #3
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Welcome to the forum and thank you for your service.


    Since you are new to Access, I offer these suggestions:
    --------------------------------------------------------
    Use only letters and numbers (exception is the underscore) for object names.
    Do not use spaces, punctuation or special characters in object names.
    Do not use look up FIELDS, multi-value fields or calculated fields in tables.
    Do not begin object names with a number.


    Good luck with your project...

  4. #4
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,421
    Steve, if I may add https://access-programmers.co.uk/for...d.php?t=225837 as suggested reading.
    balexa5701: some good advice there. Predicates such as frm, rpt will tell you right away what you are dealing with. Perhaps not necessary for those with a photographic memory, but certainly useful for those who may have to troubleshoot your design or code later! Who knows, that could include you

    I have lots of other links that I frequently pass on for beginners if you care to review them.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    balexa5701,
    I note that this is your first post -welcome to the forum. Too often I see people jumping into physical Access without a clear description/specification of what they are trying to support with a database. I'm not suggesting you are doing this, but want to give you some links that may be helpful with your project - in addition to those offered by others.

    Here is a thread with some links that will help with database design and planning.

    Good luck.

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

Similar Threads

  1. Cascading list boxes
    By WickidWe in forum Forms
    Replies: 2
    Last Post: 11-25-2013, 09:10 PM
  2. Cascading List Boxes
    By Gee in forum Access
    Replies: 0
    Last Post: 02-13-2013, 10:58 AM
  3. Cascading List Boxes
    By Gee in forum Access
    Replies: 13
    Last Post: 02-07-2013, 01:16 PM
  4. Cascading Combo / List Boxes
    By plowe in forum Programming
    Replies: 5
    Last Post: 09-07-2012, 10:55 AM
  5. Replies: 1
    Last Post: 03-30-2012, 05:59 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