Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6970 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

i need a calc of some sort that defines a feild to current date (i have that part) but updates at midnight...or will i be forced to have a refresh script step

Posted

Hi VICH,

You can use Task Scheduler (in Control Panel) to run opening an FM file which has an opening script which can set your date and then close itself. You can schedule it to run at midnight. VBScript could also be used (I would bet) although I haven't used it in this way before. :wink2:

LaRetta

Posted

hmm well let me put it like this, i have 12 date feilds the first has a calc value of get(currentdate) feild 2 is the date in feild 1 + 1

and then from then on its the previous date + 1, in order to show 12 consecutive days, at midnight the first feild has to update, and then the other 11 do as well, so what would be the best option

Posted

or will i be forced to have a refresh script step

So, based on your previous replay, you don't need a script to refresh the current date...

You only need to make UNSTORED the calc of ToDay = Get(CurrentDate)

Posted

i have 12 date feilds the first has a calc value of get(currentdate) feild 2 is the date in feild 1 + 1 and then from then on its the previous date + 1, in order to show 12 consecutive days

Also I think that [color:red]here you can use those ill-famed repeating fields !

Make a 12 rep repeating field with this calc:

GetAsDate ( Extend ( ToDay ) + Get ( CalculationRepetitionNumber ) -1 )

where ToDay = Get(CurrentDate) UNSTORED !

This topic is 6970 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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