Results 1 to 3 of 3
  1. #1
    BWGies is offline Novice
    Windows 10 Access 2016
    Join Date
    Apr 2019
    Posts
    1

    Only returning >20% profit results

    Having trouble figuring out the way to get my results.


    Looking to get a query that includes a few fields but only show orders with >20% profit margin.
    I am also having an issue with getting results that included a specific item in the sale. When I put in "item" for example the results would change orders to show everyone buying said item.

    Any help would be great.
    Thankyou

  2. #2
    Minty is offline VIP
    Windows 10 Access 2016
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    I think you will need to show us what you have tried, or some example starting data, and what you the expect to return from it.

    We would be guessing a lot without some other information.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    For displaying the results per item, one way you could achieve this:

    Have a combo box on the form displaying all items then write a query (prehaps for a subform) that references the combo box choice.

    Make sure you have a requery on the update event of the combo box.

    The Criteria in the query would be =form!form_name!combobox_name.

    Just as a point. It may be better to seperate two unrelated questions into two threads to avoid confusion in the answers.

    Andy.

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

Similar Threads

  1. Returning Results
    By agh5147 in forum Access
    Replies: 1
    Last Post: 06-23-2017, 08:39 AM
  2. Like query not returning all results
    By robbeh in forum Queries
    Replies: 3
    Last Post: 10-10-2014, 02:32 PM
  3. Select Query returning no Results
    By Rhemo in forum Access
    Replies: 2
    Last Post: 09-15-2012, 04:11 AM
  4. Dataset returning different results
    By Juan23 in forum Programming
    Replies: 8
    Last Post: 09-16-2011, 03:03 PM
  5. Query not returning all of the results
    By velvettiger in forum Queries
    Replies: 4
    Last Post: 03-11-2010, 06:56 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