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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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