dbTalk Databases Forums  

Updating a field based on todays date.

comp.databases.filemaker comp.databases.filemaker


Discuss Updating a field based on todays date. in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bullp65
 
Posts: n/a

Default Updating a field based on todays date. - 09-19-2005 , 06:20 AM






I need to have a container field change to indicate how close the
Jobs:ueDate 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


Reply With Quote
  #2  
Old   
FP
 
Posts: n/a

Default Re: Updating a field based on todays date. - 09-19-2005 , 05:32 PM






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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.