ianmuir Posted January 25, 2010 Posted January 25, 2010 I run a script on exiting my database. It checks a field "provisional_booked" for a date and then checks "job_Confirmed" If "job_confirmed" is empty and "provisional_booked" has a date it puts up a custom dialog box saying "There are jobs for tomorrow which are not confirmed. Would you like to see them?" it inserts the current date + 1 into a date field so it can check the next days jobs. My boss wants it to, on a Friday check Mondays jobs. any ideas? I have attached script steps.
comment Posted January 25, 2010 Posted January 25, 2010 Try: Let ( today = Get (CurrentDate) ; today + 1 + Position ( "76" ; DayOfWeek ( today ) ; 1 ; 1 ) )
ianmuir Posted February 1, 2010 Author Posted February 1, 2010 Fantastic! is there a way on a Friday it can check sat and monday jobs? Thanks!!
Recommended Posts
This topic is 5409 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