Jump to content

Oustanding Date


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

Recommended Posts

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 :

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is 5713 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
 Share

×
×
  • Create New...

Important Information

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