Jump to content
Sign in to follow this  
actionman007

Populating a field using a calculation based on information from two date fields

Recommended Posts

Hi,

I have two date fields, "startdate" & "enddate" and a field called "actiondate"

I am having issues working out how I can set a calculation script on the actiondate to automatically populate.

I would like the actiondate to look at the fields "startdate" & "enddate" and if a date range exists between these fields place the "startdate" into "actiondate"

Please can someone lend a hand!

Cheers,

Dan ???

Share this post


Link to post
Share on other sites

Make the ActionDate an autoenter with the update option chosen; the calc should look like this:

Case(StartDate < EndDate;StartDate )

--sd

Share this post


Link to post
Share on other sites

Hi,

How would I then say - If the start date is less than the end date but greater than a specified date, populate the action field with the start date?

Share this post


Link to post
Share on other sites

Case(StartDate < EndDate and StartDate > SpecifiedDate; StartDate )

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.