steigrafx Posted December 7, 2010 Posted December 7, 2010 I have a field called "WarrantyExp". I made a calculated field to display the number of days remaining on the warranty using WarrantyExp - Get ( CurrentDate ), but for those fields where the warranty date has expired and is in the past, my calculation results in negative numbers. What can I add to the calculation so that past warranty dates are ignored? Thanks, Kevin
comment Posted December 7, 2010 Posted December 7, 2010 Try = Let ( rem = WarrantyExp - Get ( CurrentDate ) ; Case ( rem > 0 ; rem ) ) Alternatively, you could apply conditional formatting to the field.
steigrafx Posted December 7, 2010 Author Posted December 7, 2010 Perfect. I can't thank you enough, Comment. Kevin
steigrafx Posted December 8, 2010 Author Posted December 8, 2010 Comment, I've been thinking about this all day. You've been a tremendous help to me, and I want you to know how much I appreciate it. Kevin.
comment Posted December 8, 2010 Posted December 8, 2010 OK, let's not get mushy... : Especially since this is a rather trivial problem.
Recommended Posts
This topic is 5193 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