actionman007 Posted February 11, 2007 Posted February 11, 2007 Hi, I would like to create a script that upon opening the application the following occurs... 1) If the date from a "Est. Completion Date Field" is more than 60 days old, then the field named "Project Status" is changed to read "outstanding". I'm new to FMP so any help would be great... trying my best to learn on the job. Cheers, Dan :
Raybaudi Posted February 11, 2007 Posted February 11, 2007 Hi your "open" ( a [color:red]script that runs automatically ** when you open your DB ) script must contain: Show All Records Go to Record/Request/Page [First] Loop Set Field [Project Status;Case( Get ( CurrentDate ) > Est. Completion Date Field + 60 ;"outstanding"; Project Status )] Go to Record/Request/Page [Next; Exit after last] End Loop [color:red]** File >> File Options... >> Open/Close >> Perform Script ---> Open
Recommended Posts
This topic is 6556 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