Results 1 to 4 of 4
  1. #1
    david1011 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2016
    Posts
    9

    Need to limit qry criteria based on a form's cbo selections


    I need my user to select criteria for 3 output fields in a query. I'm trying to do this with an unbound combo box for each in a form [frmLimit], then have a path to the combos in the query's criteria statements. Something like Forms!frmLimit!cboCity. I guess the path syntax is way wrong; it is returning nothing - Can I do this? Thanks - David

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    Use the Builder.
    When you click this button on the icon bar, you can pick the form, then the item on the form.
    it ALWAYS spells it correctly.

  3. #3
    david1011 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2016
    Posts
    9
    Quote Originally Posted by ranman256 View Post
    Use the Builder.
    When you click this button on the icon bar, you can pick the form, then the item on the form.
    it ALWAYS spells it correctly.
    Still returning nothing - I'm using only 3 fields to limit criteria with combos the search form - there are about 8 fields in the query. Could that cause it to return nothing?

  4. #4
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,716
    Show your code or post a copy of the database -remove anything private first.

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

Similar Threads

  1. Replies: 10
    Last Post: 03-22-2016, 09:56 PM
  2. Replies: 12
    Last Post: 12-25-2015, 12:47 AM
  3. Replies: 1
    Last Post: 03-23-2015, 10:13 AM
  4. Selections based off of tiered criteria
    By New_2_Access in forum Access
    Replies: 7
    Last Post: 06-19-2012, 11:00 PM
  5. Open 1 of 2 Forms based on Criteria
    By DCV0204 in forum Forms
    Replies: 28
    Last Post: 11-23-2011, 03:09 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