Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi.

I have a find in a script to meet a number of criteria. Firstly I enter find mode, then I set the relevant fields with a set field command and then I do the perform Find. It works great. I would however like to add one more criteria onto my find. It would be to see if the current date is at least five days after a date in a field. Not quite sure how the best way around this would be. Anyone have any suggestions.

Posted (edited)

Do you mean that you only want to find records which meet the criteria you've specified AND that their date is 5 days or older from today? The it would be:

Set Field [ theDate ; " :less: " & Get ( CurrentDate ) - 5 ]

If you mean that you only want to perform the find if a DIFFERENT date is at least 5 days older than the current date, it should be the same but it would depend upon whether it is a related date, an independent preferences date or what.

LaRetta :wink2:

Edited by Guest
Removed file - unnecessary, I think.

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