Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6556 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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 :

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.