scarnie Posted September 30, 2004 Posted September 30, 2004 I have a database which contains equipment and a date tested. As an example equipment may need tested annually. How do I generate a reminder that a particular piece of equipment is due for test by either automatically producing a weekly/monthly report or having a pop-up box appear on screen to remind the user that a piece of equipment is due to be tested. Any help greatfully received. Thanks Susie
Deep Thought II Posted October 3, 2004 Posted October 3, 2004 u can try to add a date calculation, and use open script to check and open the popup when the user opens the database.
Oldfogey Posted October 7, 2004 Posted October 7, 2004 I'd use a calculation field along the lines of this - case(Get(CurrentDate)- TestDate > 365, "Equipment needs testing", "") Colour the text red and have no borders arounbd the field. You can play a bit with the calculation to allow for leap years if that's important and also maybe modify the message according to how overdue the testing is.
-Queue- Posted October 7, 2004 Posted October 7, 2004 Case( Date( Month(Get(CurrentDate)); Day(Get(CurrentDate)); Year(Get(CurrentDate)) - 1 ) >= TestDate; "Equipment needs testing" ) should take leap years into account.
scarnie Posted October 7, 2004 Author Posted October 7, 2004 Thanks very much for all your help. Seems to be working as I need it too now. Susie
Recommended Posts
This topic is 7615 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