Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    The name of the combobox is not YPMatchSearch, that's just what is on the label, the combobox name is Combo133. The combobox bound column is 1, the YPID field.

    This seems to work:
    SELECT OrganizationsT.OrgName, YPsT.YPLookupName
    FROM OrganizationsT, YPsT
    WHERE YPsT.YPID=[forms]![MatchSelectedYPF]![Combo133] AND
    ((OrganizationsT.[OrgArtsCulture]=True And [YPsT].[YPArtsCulture]=True)
    Or (OrganizationsT.[OrgEnvironmental]=True And [YPsT].[YPEnvironmental]=True)
    Or (OrganizationsT.[OrgHealthcare]=True And [YPsT].[YPHealthcare]=True)
    Or (OrganizationsT.[OrgYouthMentorship]=True And [YPsT].[YPYouthMentorship]=True)
    Or (OrganizationsT.[OrgPovertyBasicNeeds]=True And [YPsT].[YPPovertyBasicNeeds]=True)
    Or (OrganizationsT.[OrgSportsAthletics]=True And [YPsT].[YPSportsAthletics]=True)
    Or (OrganizationsT.[OrgIntlDiversity]=True And [YPsT].[YPIntlDiversity]=True)


    Or (OrganizationsT.[OrgBusiness]=True And [YPsT].[YPBusiness]=True));

    Delete the duplicate record #4 for Samantha.
    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.

  2. #17
    kelann is offline Learning ... thank you!!
    Windows XP Access 2010 32bit
    Join Date
    Aug 2012
    Posts
    132
    Argh! I had changed it! Good grief. Thank you very, very much for looking at the database and providing the correct language -- I appreciate it!!

  3. #18
    kelann is offline Learning ... thank you!!
    Windows XP Access 2010 32bit
    Join Date
    Aug 2012
    Posts
    132
    Julie, you are so fabulous! Thank you so much! It works perfectly!!!!!!!

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Run query for current record only
    By lmh24 in forum Queries
    Replies: 3
    Last Post: 06-01-2012, 03:23 PM
  2. Current Record Value in query
    By A S MANN in forum Queries
    Replies: 3
    Last Post: 12-21-2011, 06:21 AM
  3. Run Update Query on Current Record in Form
    By c3pse in forum Queries
    Replies: 3
    Last Post: 08-14-2010, 05:40 AM
  4. Query based on current record in form
    By bhsvendbo in forum Queries
    Replies: 1
    Last Post: 06-01-2010, 11:20 AM
  5. How to output only current record in query
    By mslieder in forum Access
    Replies: 0
    Last Post: 01-20-2006, 05:48 PM

Tags for this Thread

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