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 6665 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have created a Script that allows me to see who's payment is due today,

Perform Find[] Specify, // next payment due date.

How can I subtract a specific number of days from the current date?

Posted

You need to create a script to do this.

Enter Find Mode [ ]

Set Field [ YourTO"::YourDateField; Get ( CurrentDate ) -3 ]

Perform Find [ ]

HTH

Lee

Posted

OK, this works well Enter Find Mode [ ]

Set Field [ YourTO"::YourDateField; Get ( CurrentDate ) -3 ]

Perform Find [ ]

But I need to be able to also view the current date, one day back and 2 days back and 3days back. Just by using the scroll wheel on my mouse to look at all these days.

Can this be done within this same script?

Posted

Try this and see it works for you.

Enter Find Mode [ ]

Set Field [ YourTO::YourDate; Get ( CurrentDate ) -3 & "..." & Get ( CurrentDate ) -1 ]

Perform Find [ ]

HTH

Lee

This topic is 6665 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.