7 replies
by eewhite
You can use an update query to update the rehire date and the other field with (hiredate +120) and (hie date +240).
I think it may be an easier way to do this. Please provide more information on what you are actually trying to accomplish.(My initial recommendation is that you consider adding 120 days to the SYSTEM DATE rather than creating multiple fields with dates going out 120 days.)
Elaine
by cccenter
by donq
Sorry, I don't understand what you are trying to do!
Set Default to NOW()+120 and in the Hire Date field you want to automate. Automatically entered NEW values can then be changed whenever or via code on a regularly scheduled basis??? What I think you want just doesn't make sense!
by cccenter
by steve barrow
It looks like you want to be reminded when you are due to renew your hire contract. If this is the case you can check the original hire vs today and see if there is a comparison.
like:
now()-hiredate mod 120 if the answer is 0 then a 120 day period has elapsed.
use the int(now()-hiredate/120) to see the number of cycles.
note if hiredate is a string field use val() to convert to a number.
Hope this helps
Steve
by cccenter
by cccenter
This discussion is closed to new replies.
Trending Software posts
Sort by Trending