Tyra Posted April 15, 2009 Posted April 15, 2009 Can some explain to me why the Calculation below works for most date ranges, but not all, like the two date ranges below. [unstored,from Company,= Case ( Get ( CurrentDate)≥ s_Contract_Start and Get ( CurrentDate )≤ s_Contract_End; "YES";"NO")] Shows "NO" if: s_Contract_Start= 4/5/2008 s_Contract_End= 4/4/2011 and s_Contract_Start= 6/26/2008 s_Contract_End= 6/30/2009 Both should show "YES".
comment Posted April 15, 2009 Posted April 15, 2009 Could you post a simple file showing the problem?
Tyra Posted April 15, 2009 Author Posted April 15, 2009 Comment, thank you for your help!! As I started to create a quick file to show the issue, I realized that I had marked "s_Contract_Start" as a Text field instead of a date field. Although weird why it was working for most ranges, definitely works correctly now. Probably would help to get more then 2-4 hours of sleep each night.
Recommended Posts
This topic is 6044 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now