Results 1 to 4 of 4
  1. #1
    hyperspac3 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2013
    Posts
    2

    Question Choose values from combo box based from selection made on previous combo box

    Hi all,

    I am very new to made a form in Access so forgive me with limited technical language of Access.

    Here is the case.


    I have 2 tables
    • students_data (with field: ID, name, class)
    • late_log (with field: Autonumber, name, ID, late_date)

    The idea is to provide one combo box (1) which list classes. After user select one class, there is another list box (2) that list name of students based from class selected on combo box (1)

    After that, there will be a button save to save those data (name, ID, late_date) into table late_log.

    My questions:
    1. how to create list box (2) that contain list of students based on class selection
    2. how to insert todays date automatically into late_date while saving
    3. how to create a button to save those data?


    I am sorry if this is a simple qustion but I dont know where to ask.

    Thank you.

  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,518
    1) Baldy-Cascading Combos

    2) give it a default value of Date()

    3) If the form is bound to the table (Record Source property) you don't need a button.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    hyperspac3 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2013
    Posts
    2
    Thanks Paul,

    I will try it first. Once again, thank you

  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,518
    No problem, and welcome to the site by the way!
    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: 15
    Last Post: 03-17-2013, 07:40 PM
  2. Replies: 3
    Last Post: 12-11-2012, 09:12 AM
  3. Combo Box values based on preceding selection
    By speckytwat in forum Access
    Replies: 11
    Last Post: 04-27-2011, 11:35 AM
  4. Replies: 1
    Last Post: 03-27-2010, 06:13 AM
  5. Replies: 1
    Last Post: 08-26-2009, 10:45 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