Jed69 Posted April 13, 2008 Posted April 13, 2008 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.
LaRetta Posted April 13, 2008 Posted April 13, 2008 (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 April 13, 2008 by Guest Removed file - unnecessary, I think.
Recommended Posts
This topic is 6417 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 accountSign in
Already have an account? Sign in here.
Sign In Now