Newbies sdondero Posted July 23, 2001 Newbies Posted July 23, 2001 I am using the following calculation to determine the number of days that have elapsed since a document was submitted for review. If(Date Rec <> "", (Date Rec - Date to) * 1, (Date to - Today)* (-1)) On 7/20/2001 the user (via browser) sees this (calculation works): Date submitted: 7/19/2001 Date returned: Days in review: 1 On 7/23/2001 the user (via browser) sees this (calculation doesn't work): Date submitted: 7/19/2001 Date returned: Days in review: 1 If I edit the record via browser and change the date submitted to 7/20/2001, it correctly calculates 3 days; when I change the date submitted back to 7/19/2001, it correctly calculates 4 days. Any idea why it would show "Days in review: 1" instead of "Days in review: 4" when it was first accessed via browser? Thanks
dspires Posted July 24, 2001 Posted July 24, 2001 Instead of the Today function, use status(CurrentDate) and make it unstored. Values based on the Today function are recalculated when the database is closed and re-opened.
Recommended Posts
This topic is 8630 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