Results 1 to 4 of 4
  1. #1
    cperry88 is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Nov 2013
    Posts
    9

    Query Results Not Limited to Data Entries


    I have a query that I would like to run to display all results - even those for which certain criteria do not apply. For instance, I have 5 products I am comparing to my competitors. For 3 of these products, I know what my competitions price is for a comparable product. I would like to have a query display all 5 parts, displaying the lack of competitor information I have for the other 2 products I have. So whereas now my query is setup to display my product, my price, competitor product, competitor price for the 3 parts I explained above, I need the same query to show the other 2 parts as well even though I do not have relevant competitor data.
    Thanks

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Maybe an alias in your query? You could create an expression using IIF() function to display a predetermined literal value or text if the expression returns FALSE

  3. #3
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    It is difficult to understand your post and the answer depends on the structure of your data. My initial interpretation is about your join lines between the tables in your query. if they are simple lines, and not arrows, then the query returns just records where there is data on both sides. If they are arrows they return all the data of one table regardless of what the other table has. You can reverse the arrow direction.

    Put your cursor on that line and right click - then experiment with the options.

  4. #4
    cperry88 is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Nov 2013
    Posts
    9
    Thank you both for your suggestions and explanations. I will give it a try and report back with the results.

    Thanks again.

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

Similar Threads

  1. Replies: 3
    Last Post: 12-31-2013, 02:53 PM
  2. Replies: 1
    Last Post: 11-26-2013, 01:41 AM
  3. Replies: 2
    Last Post: 12-17-2012, 03:46 PM
  4. Replies: 1
    Last Post: 10-24-2011, 04:11 PM
  5. Replies: 3
    Last Post: 09-07-2011, 03:17 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