Updating a field based on todays date.

  • Follow


I need to have a container field change to indicate how close the
Jobs::DueDate is, if its 4 days away light blue, if its 1 day away
bright red.

I am able to get it all to work until the next day comes, then I need
to go through all the DueDate fields and change the due date  so my
calculation for that field will work. the calc is
DayOfYear(DueDate) - DayOfYear(Get(CurrentDate))

I want to have this updated all the time so the container field is kept
up to date.

I was thinking of a script to loop through the due date field, but I
could not see how to go to the next record in a found set using a
script


I am sure this can be done, I must just be looking at it from the wrong
angle

0
Reply bullprint (1) 9/19/2005 11:20:47 AM

Make the calculation unstored.
Where you entered the calculation formula, click the "Storage Options"
button, then the "Do not store calculation results" checkbox.  That
will cause FM to automatically recaculate it every day.

0
Reply FP 9/19/2005 10:32:24 PM


thanks :)

0
Reply bullp65 9/20/2005 7:48:32 AM

2 Replies
493 Views

(page loaded in 0.462 seconds)

Similiar Articles:













7/21/2012 4:44:21 AM


Reply: