Results 1 to 6 of 6
  1. #1
    Mtyetti2 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    26

    Combo Box only show names not used

    Hello!



    fairly new at Access, but hoping someone can help me solve my issue with an employee scheduling database I made.
    i would like a combo box, which pulls employees names based on a table, to filter itself to show only employees that have not been used yet. Ie: show employees that have yet to be scheduled.

    Thank you soo much, everyone.
    Scott

  2. #2
    Micron is online now Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    should be simple enough, but not enough info provided by you to be specific. So generally, you'd create a sql statement or query that filters out the ones that haven't been scheduled. If that's a Yes/No type of field, then you return those who are "no". If it's a date field, you return those who have no schedule dates set. Then set the row source of the combo to be that query, or copy the sql statement into the row source field on the property sheet.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Build query that includes Employees table and Scheduled table. Basically a 'Find Unmatched' query.
    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.

  4. #4
    Mtyetti2 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    26
    Thanks for the quick reply. I’ll try to provide a little more detail.

    I'm scheduling employees for class sessions. Ie: Thursday, 4pm, Friday 5pm, etc.
    As I populate these sessions with the employees, I would like my combo box to exclude the names that are already scheduled. That way I avoid scheduling them twice.
    I would like this to be done automatically as the sessions are populated, so I don’t think a yes/no field will work.

    thanks again!

  5. #5
    Mtyetti2 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    26
    This may work. Can you provide any more info on how to start the unmatched query? I’m fairly familiar with queries, just not how to make the unmatch.

  6. #6
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    In the menu, click on
    Create / Query Wizard / Find Unmatched query.

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

Similar Threads

  1. Making Month Names show in query reports
    By jdboss53 in forum Queries
    Replies: 7
    Last Post: 01-04-2017, 05:18 PM
  2. How to make field names show instead of ID numbers
    By Access_Novice in forum Programming
    Replies: 1
    Last Post: 01-05-2014, 10:16 PM
  3. Replies: 1
    Last Post: 08-21-2013, 11:11 AM
  4. Replies: 3
    Last Post: 11-29-2011, 02:37 PM
  5. Replies: 1
    Last Post: 09-06-2010, 11:45 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