Forum Discussion
MarkShnier__You
Qrew Legend
5 years agoThere are a few ways to do this. What is the maximum # days this needs to work for? That will affect which choice would be best.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
- MichaelM11385 years agoQrew TraineeNot more than 10 business days or 14 calendar days
------------------------------
Michael Mahon
------------------------------- MarkShnier__You5 years ago
Qrew Legend
OK, np,
We get to do this stupid simple brute force. I assume that these records will be children if the parent Calendar Record. Look up the value of the [Last date of the range] down to the children.
Make 14 new formula date fields to calculate the 14 dates dates from 0 days to 13 days ahead.
Then make an automation to fire when a calendar record is added, changed or deleted and either the start or end date range changed.
Step 1. Delete all children of the parent calendar Record
Step 2 through 16 is to create the 14 children.
Step 17 is to delete all children which are older than the [Last date of the range]
The reason for the first step to delete all its children is to handle if the date range is changed.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------- MichaelM11385 years agoQrew TraineeMy apologies for the delayed response and follow up.
We get to do this stupid simple brute force. I assume that these records will be children if the parent Calendar Record. Look up the value of the [Last date of the range] down to the children.
Make 14 new formula date fields (IN THE PARENT? ) to calculate (WOULD THIS BE A DURATION FORMULA?? see below) the 14 dates dates from 0 days to 13 days ahead.
Todays([Field 13]-[Field 0])
Todays([Field 13]-[Field 1])
Todays([Field 13]-[Field 2])
Todays([Field 13]-[Field 3])
Then make an automation to fire when a calendar record is added, changed or deleted and either the start or end date range changed.
Step 1. Delete all children of the parent calendar Record
Step 2 through 16 is to create the 14 children.
Step 17 is to delete all children which are older than the [Last date of the range]
The reason for the first step to delete all its children is to handle if the date range is changed.
------------------------------
Michael Mahon
------------------------------