IFYOUCANREADTHIS Posted September 2, 2005 Posted September 2, 2005 I have a super simple script that I just don't see why it's not working 100%. My script is: If ["Start_Date" = Today] Go to Layout [Refresh Window, "Warning -- Same Day Request'] Else Go to Layout [Refresh Window, "Reservation -- When and Where"] End If OK, so it works properly when the statement is TRUE, but it doesn't work when it's FALSE (when the Start_Date field is set to a date after today. I'm sure it's something super simple, but I am just too dang dumb to figure this one out.
Lee Smith Posted September 2, 2005 Posted September 2, 2005 Try using Status(CurrentDate) instead of Today. Lee
-Queue- Posted September 2, 2005 Posted September 2, 2005 Today works fine in scripts. It is only in calculation fields where it does not update. However, you would do better to use Status(CurrentDate) since Today is not supported beyond version 6. You should also remove the quotes around Start_Date; though it does not make sense why it has been working when you are testing the text "Start_Date" instead of the value of Start_Date.
Recommended Posts
This topic is 7369 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