Results 1 to 4 of 4
  1. #1
    tagteam is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    486

    query critera not accepting -- (two dashes)

    I have query that looks for invoice numbers. A vendor sent and invoice that has two dashes, lik ARP--8907

    When i run that as the criteria for my query it returns no results



    When i try like "ARP*" it works

    When i use another invoice like DAR-9934 it has no problems

  2. #2
    tagteam is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    486
    As a note, this is a make table query. iT seem to work fine on a regular query

  3. #3
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,478
    Are you putting quotes around it? "ARP--8907" should work. Can you post the SQL code for the query?

  4. #4
    tagteam is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    486
    If found the error when looking at the sql code. It was looking for the criteria in the BillingInvoiceParty instead of the BillingInvoicID

    Thanks for the nudge

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

Similar Threads

  1. Query critera from form that is now a suborm
    By gem1204 in forum Queries
    Replies: 1
    Last Post: 04-12-2016, 12:12 PM
  2. DSum with Multiple Critera in a Query
    By flamingphoenix in forum Queries
    Replies: 1
    Last Post: 11-11-2014, 11:04 AM
  3. Query Critera w/ two Paths
    By Mike4172 in forum Queries
    Replies: 6
    Last Post: 04-10-2013, 08:47 PM
  4. Make Table Query not accepting new records?
    By access allowed in forum Queries
    Replies: 5
    Last Post: 11-08-2011, 07:29 PM
  5. Query that would search multiple critera and delete
    By justinwright in forum Queries
    Replies: 2
    Last Post: 08-25-2010, 10:05 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