Results 1 to 3 of 3
  1. #1
    bfryxell is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Apr 2015
    Posts
    5

    Selecting Records on a Split Form Based on "Or" Criteria

    I have been working on a database that involves chamber music groups with the potential for each group to have up to two coaches. I set up a split form with the groups table showing on top and a list box of coaches on the bottom. Is there a good way using macros, V.B., etc. to set it up so that the top part will show groups where either Coach1 or Coach2 is equal to the selection in the list box?

    For example, let's say that Joe Schmo is a coach for two groups. For one group, he is Coach1 and for another group he is Coach2. Upon selecting Joe Schmo in the list box, I would want both groups that he coaches to show up.

    Thanks in advance!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    So you have the datasheet part on top?

    The listbox is UNBOUND and used for purpose of inputting filter criteria?

    Review:

    Uses dynamic parameter query
    http://www.datapigtechnologies.com/f...tomfilter.html

    My preferred method
    http://www.allenbrowne.com/ser-62.html
    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.

  3. #3
    bfryxell is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Apr 2015
    Posts
    5
    Thank you for replying! I ended up setting something up using a continuous form.

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

Similar Threads

  1. Replies: 4
    Last Post: 01-22-2015, 10:30 AM
  2. Replies: 4
    Last Post: 03-27-2014, 09:06 PM
  3. Replies: 6
    Last Post: 04-25-2013, 10:08 AM
  4. Replies: 8
    Last Post: 03-05-2013, 01:20 PM
  5. How to change the column heading in a "split form"
    By robertrobert905 in forum Forms
    Replies: 1
    Last Post: 09-21-2010, 02:42 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