shawnj985 Posted October 15, 2006 Posted October 15, 2006 I have a script that I'm trying to setup to remind me that a backup of my data is due. The attachment shows my main script which is called up by another one. It is all based on 3 fields: [color:orange]SelectBackupDays - which is available to the user on a Preference layout that allows the user to select days via a value list: 5,20,30,60 or 90. This is set number of days that must be equal to or past before the user is prompted. [color:orange]LastBackupReminderDate - This is a date field that is updated with the current date ONCE the user prompted with a reminder. [color:orange]BackUpDatePreference - is a calc field with a number result based on (LastBackUpReminderDate + SelectBackupDays) but it doesn't seem to be working. The custom message that I have so far is just for testing for now. Once I get this perfected, I will have a more professional message displayed to the user. Thanks in advance for any help given. BackupCheck.pdf
Raybaudi Posted October 16, 2006 Posted October 16, 2006 Hi there is only an error into the if statment of your script... so go and change it to: If[Get ( CurrentDate ) ≥ Preference::BackupDateDifference]
Recommended Posts
This topic is 6674 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