VICH Posted December 27, 2005 Posted December 27, 2005 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
LaRetta Posted December 27, 2005 Posted December 27, 2005 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. LaRetta
VICH Posted December 27, 2005 Author Posted December 27, 2005 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
Raybaudi Posted December 27, 2005 Posted December 27, 2005 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)
Raybaudi Posted December 27, 2005 Posted December 27, 2005 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 !
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now