Results 1 to 2 of 2
  1. #1
    oneillp111 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2014
    Posts
    1

    Search query not returning all instances

    I have a database for storing part numbers of power supplies, very basic database. I also have a multifield search form and search query. All very basic stuff, however I am new to access and cannot seem to find out what the is causing this issue.



    There are 174 entries in the database table, they all start with "0" for the part number, I have wild cards in my Query so that for instance if I searched 0 for the part number field, it should return all 174 entries, but for some reason it only returns 49 entries. I have attached the database as an example. Any help would be great!

    Thanks
    Attached Files Attached Files

  2. #2
    lfpm062010 is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Location
    US
    Posts
    415
    It looks like you are not picking up all the fields that have NULL value.
    The solution is not as simple as just use "OR IS NULL" in the criteria. You might pick up more records than you need.

    Program in VBA should solve your issue.

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

Similar Threads

  1. Search query problem - not returning a value
    By aeaster in forum Queries
    Replies: 29
    Last Post: 05-17-2013, 09:51 AM
  2. Query not returning records
    By Daryl2106 in forum Access
    Replies: 2
    Last Post: 11-28-2012, 09:29 AM
  3. Replies: 4
    Last Post: 09-18-2012, 03:01 PM
  4. Query - Returning ID instead of Value...??
    By Poolio in forum Queries
    Replies: 5
    Last Post: 04-18-2011, 07:10 AM
  5. Query Table for "*" and then Count all instances
    By Steven.Allman in forum Queries
    Replies: 14
    Last Post: 09-10-2010, 07:45 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