We help IT Professionals succeed at work.

Crystal Reports selecting providers having no orders between date one and date two but having orders outside of those two dates.

Last Modified: 2018-04-26
I am using crystal reports XI. The problem that I have is with a select statement....I think. Anyway, I am trying to select all PROVIDERS from the ORDERS table who have not received a specific order from DATE1 to DATE2. Seems simple...however, when I just go into the select wizard and tell it to show me all providers not having an order between DATE1 and DATE2 it shows me all "records" not having an order date between DATE1 and DATE2. So, I really need to formulate a list of providers and then have crystal run through each one and see if his ID has had an order in between those dates and if so then do not show that provider's records in the report and if no order between those dates then list the provider and all other dates he/she did receive that order. Make sense?
Watch Question

Senior Consultant
Most Valuable Expert 2011
Top Expert 2013
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
Member_2_6499057Senior Consultant - IT


You saved me just in time. I cannot tell you how much you have helped me by answering this question!! WOW, mlmcc...I may get to keep my job because of you..