Drew Sanderson Posted March 3, 2008 Posted March 3, 2008 I am having trouble with the below calculation: Case ( Month ( Get ( CurrentDate ) ) = 1 or Month ( Get ( CurrentDate ) ) = 2 ; (Year ( Get ( CurrentDate ) ) - 1) ; Year ( Get (CurrentDate ) ) ) In the data view it works correctly. The problem I am having is that today the value did not update to 2008 but rather stayed at 2007. This is a global calculation field used in a multi-predicate relationship. Any ideas? Thanks, Drew
Drew Sanderson Posted March 3, 2008 Author Posted March 3, 2008 That is what I figured... I was hoping someone had an idea for a work around...
Drew Sanderson Posted March 3, 2008 Author Posted March 3, 2008 I think I will change it to a number global and set the field in the start up script.
David Jondreau Posted March 3, 2008 Posted March 3, 2008 If it's for a relationship, an unstored calc will work as well as a global.
Drew Sanderson Posted March 3, 2008 Author Posted March 3, 2008 Problem solved. I changed the calculations to reference a global that is set during start up on the same table. See I needed a Year for today, minus 1 month and minus two months. the minus 1 and 2 months fields just look to the current year global which is the one being set. Thanks for the help : Drew
Lee Smith Posted March 31, 2008 Posted March 31, 2008 I moved Kirks post as you were replying. See Trouble with a Calculation, in this Topic Area.
Recommended Posts
This topic is 6141 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