Results 1 to 6 of 6
  1. #1
    lehi53 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Dec 2013
    Posts
    28

    Help with a query from a drop down box


    I am trying to create a query to pull people in who fall on a certain date but do not have certain keywords. The keywords come from a combo box. Please see the attached table for help. Look at the actions tab. The bottom right sub form which is expiring today.
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,638
    What combobox?
    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
    lehi53 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Dec 2013
    Posts
    28
    Quote Originally Posted by June7 View Post
    What combobox?
    Sorry. the combo box is on the table CG info. The field is called Hotness. That field pulls from another table called level of hotness. Unfortunately this is how I built it. I know its not ideal.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,638
    How do you expect this combobox on table to help filter records?

    I NEVER build lookups in table. The actual value in the field is number, not the descriptive alias. So if you want to apply filter criteria to this field, parameters must be the number values.
    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.

  5. #5
    lehi53 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Dec 2013
    Posts
    28
    Quote Originally Posted by June7 View Post
    How do you expect this combobox on table to help filter records?

    I NEVER build lookups in table. The actual value in the field is number, not the descriptive alias. So if you want to apply filter criteria to this field, parameters must be the number values.
    .
    This is what I meant by I didnt do it right. But where we are right now I have to leave it. Based on that, how would I build a query using the numbers you talked about. I want to say Not 5,6,7,8 or whatever.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,638
    Exactly what criteria do you want? Should be simple task with the query builder.

    If you want to apply filter to the subform RecordSource, that is another issue.

    Options are dynamic parameterized query as the RecordSource or code to set the Filter and FilterOn properties.

    The Master/Child Links properties of the subform container controls are not set. Should they be?
    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.

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

Similar Threads

  1. Drop-down menu items not all appearing in query
    By joannehellen in forum Queries
    Replies: 1
    Last Post: 01-23-2014, 09:45 AM
  2. two drop-down list in a query
    By Vitto82 in forum Queries
    Replies: 2
    Last Post: 06-27-2012, 02:16 AM
  3. Replies: 3
    Last Post: 12-30-2011, 01:20 PM
  4. Replies: 3
    Last Post: 11-29-2011, 07:01 AM
  5. Filtering query via drop down select box
    By djleggins in forum Forms
    Replies: 1
    Last Post: 09-03-2011, 09:23 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