Results 1 to 5 of 5
  1. #1
    jhcarrell's Avatar
    jhcarrell is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2010
    Location
    Alabama
    Posts
    10

    Question Combo-Box Filter/Autocomplete Question

    I have a form to track tasks by employees.

    In this form the user must select the employee and position for each task.

    Goal:
    What I would like to do is make one of those fields autocomplete based on the other.

    Issue:


    Employees work in different positions from day-to-day. So having a set-in-stone parameter will not work in this case.

    Solution?:
    Would it be possible to have a form to assign and remove employees to positions at shift changes in order to meet the stated goal? How would I go about accomplishing this?

    Note:
    I had planned on using two drag and drop fields to filter "available" employees, but this will not accomplish my autocomplete goal.

    Any help would be greatly appreciated.

    Thanks.

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    To design a database, one must have a textbook - easily found at Amazon or any big bookstore.

    In general, based on your post - those fields in their table may best be set up as LookUp fields allowing selection by the user from another static list table. These lookups involve a query which can use criteria from other fields so that they only offer an appropriate set of choices.

    However there is other approaches depending on how you want the user experience to be - and it isn't clear as to what might be best.

    Hope this helps a little.

  3. #3
    michaeljohnh is offline More Human than Human
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    61
    If you want the second combo box to be a subset of the first, this is often referred to as "cascading comboboxes".

    http://www.baldyweb.com/CascadingCombo.htm

  4. #4
    jhcarrell's Avatar
    jhcarrell is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2010
    Location
    Alabama
    Posts
    10
    Quote Originally Posted by michaeljohnh View Post
    If you want the second combo box to be a subset of the first, this is often referred to as "cascading comboboxes".

    http://www.baldyweb.com/CascadingCombo.htm
    I see how this solution would work perfectly if employees worked in a set position. However, an employee may work 1 position on Monday and a different one on Tuesday.

    As the parameters change from shift to shift, how would the cascading combo accomplish my goal?

  5. #5
    jhcarrell's Avatar
    jhcarrell is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2010
    Location
    Alabama
    Posts
    10
    The attached example file may (or may not) help.

    frmTask shows the two controls I'm trying to work with here.

    I want to be able to manually assign employees to a position at shift change in order to autocomplete the employee field in frmTask.

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

Similar Threads

  1. Combo Box Autocomplete / Filter as you type
    By Pimped in forum Programming
    Replies: 28
    Last Post: 01-14-2015, 08:37 AM
  2. filter value in a combo box
    By dada in forum Programming
    Replies: 3
    Last Post: 09-05-2010, 01:22 PM
  3. Combo Box filter – help!
    By catat in forum Forms
    Replies: 1
    Last Post: 08-24-2010, 04:15 PM
  4. ComboBox Autocomplete
    By AdrianKitchen in forum Forms
    Replies: 3
    Last Post: 10-13-2009, 11:12 AM
  5. Newbie filter question
    By benplace in forum Access
    Replies: 1
    Last Post: 12-03-2005, 08:31 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