SGordon Posted January 25, 2010 Posted January 25, 2010 I have a script that runs when a user logs into a database that searches for records that have been "checked out" for more than days. The check out feature simply adds the date the record was checked out to a field and turns a selects "Yes" of a Yes/No radio button. The problem is that I can't seem to get the search criteria right to find dates that are 90 days before the current date. I have entered the calculation as Get ( CurrentDate ) > -90 but it's not finding the correct records. Can anybody tell me what I'm doing wrong? I would appreciate any comments. Thanks!
Fitch Posted January 25, 2010 Posted January 25, 2010 What you'd enter in Find mode in your date field using a calc is: "<" & Get( CurrentDate ) - 90
SGordon Posted January 25, 2010 Author Posted January 25, 2010 (edited) Thanks for the quick response! I got it working now. You were extremely helpful. Thanks again! Edited January 25, 2010 by Guest
Recommended Posts
This topic is 5474 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