stevekos07
Registered User.
- Local time
- Today, 11:09
- Joined
- Jul 26, 2015
- Messages
- 174
I know this question has probably been asked a thousand times, so if you have a good link to point me to that will be great.
I have a macro that runs on close to remind the user to perform a backup. The backup is a simple append query that saves a table recording the day's client service records.
Obviously because it relies on the user responding correctly, there are inevitable errors, either with duplicate backups, or worse, backups being missed.
I would like to be able to run the macro automatically on a schedule. Can anyone help me with this?
Edit: Another factor which needs to be accounted for is that this backup needs to happen only once regardless of how many users are using the database. The database is split with each user having their own full copy of the front end objects. I don't want each user's version running the backup on top of others, so there will need to be some kind of check to see whether there is already a record with the current date in the backup table before allowing the macro to run.
I do have a front end version which is a developer-only version, so maybe it would be best to have the scrip resident in that version, but it may not be open at the time the backup needs to occur, so a script to run the backup from this version without needing to open it would be necessary. Ideas on other approaches would be appreciated, but please note I am not very experienced in VBA (but happy to learn).
I'm getting lost just explaining this to you!!!
I have a macro that runs on close to remind the user to perform a backup. The backup is a simple append query that saves a table recording the day's client service records.
Obviously because it relies on the user responding correctly, there are inevitable errors, either with duplicate backups, or worse, backups being missed.
I would like to be able to run the macro automatically on a schedule. Can anyone help me with this?
Edit: Another factor which needs to be accounted for is that this backup needs to happen only once regardless of how many users are using the database. The database is split with each user having their own full copy of the front end objects. I don't want each user's version running the backup on top of others, so there will need to be some kind of check to see whether there is already a record with the current date in the backup table before allowing the macro to run.
I do have a front end version which is a developer-only version, so maybe it would be best to have the scrip resident in that version, but it may not be open at the time the backup needs to occur, so a script to run the backup from this version without needing to open it would be necessary. Ideas on other approaches would be appreciated, but please note I am not very experienced in VBA (but happy to learn).
I'm getting lost just explaining this to you!!!
Last edited: