Results 1 to 5 of 5
  1. #1
    bigmac is offline Novice
    Windows 7 Access 2007
    Join Date
    Oct 2008
    Posts
    21

    Question perameters

    hi, can you help please? i have a a query "findby" and a form "perameters" on the form are to combo boxes, "prorange" and "matrange" both are text, they both are perameters for the "findby" query, my problem is that it works if both combo boxes are updated, but if the user only needs to use one combobox for one criteria and the other is left and i run the query then this does not work it asks me for other perameter (which i want to leave blank)any ideas please?

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847
    Please show us the sql of the findby query.

  3. #3
    bigmac is offline Novice
    Windows 7 Access 2007
    Join Date
    Oct 2008
    Posts
    21
    [Forms]![perameters]![matrange] this is in the criteria row under material column, and [Forms]![perameters]![prorange] in in the same row but under the process column

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847
    When they are on the same row/line, the query will have an AND operator in the criteria.

    To make the operator an OR put the criteria you have in separate rows.

  5. #5
    bigmac is offline Novice
    Windows 7 Access 2007
    Join Date
    Oct 2008
    Posts
    21
    thanks , solved

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

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