matt_v Posted June 11, 2007 Posted June 11, 2007 I'm trying to crate a script that will let me update the status in my task list from defer to open once the start date is passed Currently the script I have is: If[Tasks::Start Date ≥ Get ( CurrentDate ) and Tasks::Priority = "Defer"] Set Field [Tasks::Priority = "Open"] End If I'm sure it is something simple I'm missing, but I can't figure it out. Thanks for any help, Matt
comment Posted June 11, 2007 Posted June 11, 2007 Shouldn't the inequality sign be reversed? BTW, an unstored calculation field could do this, without the need for a script.
matt_v Posted June 11, 2007 Author Posted June 11, 2007 Ok, changing the inequality sign made it work if I had the record selected. How can I have it go through all the records that are on the screen? Thanks, Matt
comment Posted June 11, 2007 Posted June 11, 2007 See the second example in Help > Creating scripts to automate tasks > ScriptMaker examples > Loop structure example. Or check out the Replace Field Contents[] script step.
Recommended Posts
This topic is 6376 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