I have an issue that I believe I may be over thinking. It seems like it should be so simple.
Here's the deal.
We have a filing cabinet of customer files that is packed to the brim. We want to thin it out a bit. So I wanted to utilize Crystal Reports to determine which accounts are no longer active so I could pull their folders.
So in my report I have the Company Names and the Sales Order dates. I want the report to show any company that hasn't had a sale in the past 5 years. I also want it to filter out any companies that ordered before 2006 (we have companies in the database all the way back to the 90's but didn't start keeping hard files in the cabinet until 2006).
So basically, I don't want any company names to show if they ordered before 2006. And I don't want any companies to show if they ordered after 2008.
It seems so easy but I just cant get it. I've googled and submitted to other forums and so far I've come up with nothing solid.
I was given this formula in another forum (a variation I had to clean up) but it's not been helpful so far (in select expert or suppress details). The user was taking a stab in the dark and couldn't help me further with it, maybe you can?
"MAXIMUM ({SO_DETAIL.ENTRY_DATE}) < DATETIME (2008, 04, 30, 00, 00, 00)
AND MINIMUM ({SO_DETAIL.ENTRY_DATE}) >= DATETIME (2006, 01, 01, 00, 00, 00)"
If this description of my issue isn't clear enough I'll happily provide more information or attempt at clarifying further.
Thank you in advance for your help.
Here's the deal.
We have a filing cabinet of customer files that is packed to the brim. We want to thin it out a bit. So I wanted to utilize Crystal Reports to determine which accounts are no longer active so I could pull their folders.
So in my report I have the Company Names and the Sales Order dates. I want the report to show any company that hasn't had a sale in the past 5 years. I also want it to filter out any companies that ordered before 2006 (we have companies in the database all the way back to the 90's but didn't start keeping hard files in the cabinet until 2006).
So basically, I don't want any company names to show if they ordered before 2006. And I don't want any companies to show if they ordered after 2008.
It seems so easy but I just cant get it. I've googled and submitted to other forums and so far I've come up with nothing solid.
I was given this formula in another forum (a variation I had to clean up) but it's not been helpful so far (in select expert or suppress details). The user was taking a stab in the dark and couldn't help me further with it, maybe you can?
"MAXIMUM ({SO_DETAIL.ENTRY_DATE}) < DATETIME (2008, 04, 30, 00, 00, 00)
AND MINIMUM ({SO_DETAIL.ENTRY_DATE}) >= DATETIME (2006, 01, 01, 00, 00, 00)"
If this description of my issue isn't clear enough I'll happily provide more information or attempt at clarifying further.
Thank you in advance for your help.