Matthew R White Posted January 9, 2012 Posted January 9, 2012 I'm trying to display the premium amount for the past 3 years in a list on the current record. I need help figuring out how to do this... I can show the date field for the current year, and the premium field for the current premium, but how do i set up the date field to be 1 year back and connect it to the premium so it shows that premium amount? Any help greatly appreciated. Matt
doughemi Posted January 9, 2012 Posted January 9, 2012 Create a global calculation field ThreeYrAgo = Date( Month(Get(Current Date)); Month(Get(Current Date)); Year(Get(CurrentDate) - 3) ; result is Date and set to unstored. Create a new Table Occurrence of your table and relate it to the original table by MyOrigTable::ThreeYrAgo < MyNewTO::Date Create a portal showing records from MyNewTO and place the fields MyNewTO::Date and MyNewTO::PremiumAmount
comment Posted January 9, 2012 Posted January 9, 2012 (edited) Create a global calculation field ThreeYrAgo = Date( Month(Get(CurrentxDate)); Day Month(Get(CurrentxDate)); Year(Get(CurrentDate)) - 3) ; result is Date and set to unstored. The field should be unstored; therefore it cannot be global. Edited January 9, 2012 by comment
Recommended Posts
This topic is 4701 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