February 11, 200719 yr 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 :
February 11, 200719 yr 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
Create an account or sign in to comment