MAX DATE PROBLEM CONTINUED
Thank you to Clifford77 for your response. In response to Clifford77. Sorry...I guess I wasn't clear about my question. Doing =Max([Date]) gives you the last, let's say...Order Date a person has placed an order, for example May 30th, 2003. But,
=Max([Date])-1 gives...
MaxDate Problem Continued
In a query you can retrieve the TOP 2 Order dates for one company....
Question...If a person has 6 companies, is there a way to create a query that gets the TOP 2 Order dates for each of the companies all within one query?
MaxDate
I was able to select the last 2 dates but only for 1 company and product at a time. Is there a way to choose the last 2 order dates in one query for each company and each of the products they buy...ALL at ONE Time?
My SQL now:
SELECT TOP 2 [zPractice Query for Certain...
In my report, design view, my calculation works to get last date in a column of information:
=Max([Date])
My problem is that now I need the last 2 dates in the column and have tried different calculations but none work so far. Example: =Max("[Date]=2")
Please help. Thankyou.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.