jparisi Posted May 29, 2003 Posted May 29, 2003 I have a field with a purchase date and a field with a lease term in months. How can I make a field that adds the months [for example, the No 36 (3 yrs)] to the purchase date to ive me the lease end date? Thank you so much in advance
EddyB Posted May 29, 2003 Posted May 29, 2003 Hi try creating this calculation field: c_LeaseEndDate= Date( Month(PurchaseDate) + LeaseTermMonths, Day(PurchaseDate) , Year(PurchaseDate)) Don't forget to set calculation result is Date Ed.
jparisi Posted May 30, 2003 Author Posted May 30, 2003 worked great!! thanks...but what if i waned to do this? Same as above, except have another field called status. The 2 choises for that field will be 'Purchased' and 'leased'. If 'leased' is selected, then the above calculation will be proformed. If 'purchased' is selected, that field will stay blank. Is that possible? very sorry if im asking too much
djgogi Posted May 30, 2003 Posted May 30, 2003 Case(status="Purchased",Date( Month(PurchaseDate) + LeaseTermMonths, Day(PurchaseDate) , Year(PurchaseDate)),TextToDate("")) Dj
Recommended Posts
This topic is 7919 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