D
Doug F.
I want the user to click a button to backup the database they are in.
Using:
strProduction = CurrentDb.Name
FileCopy strProduction, "c:\mydir\test.mdb"
I get: Permission denied
Also, as I peruse other posts it seems that FileCopy is suggested
even though there is some risk. That risk being as I copy strProduction
which of course is open, test.mdb (written to) may be corrupt if an error
occurs.
And my strProduction although open is safe?
Am I correct in this and if so then does one just take the risk?
Can I check for errors?
Thanks,
Doug
Using:
strProduction = CurrentDb.Name
FileCopy strProduction, "c:\mydir\test.mdb"
I get: Permission denied
Also, as I peruse other posts it seems that FileCopy is suggested
even though there is some risk. That risk being as I copy strProduction
which of course is open, test.mdb (written to) may be corrupt if an error
occurs.
And my strProduction although open is safe?
Am I correct in this and if so then does one just take the risk?
Can I check for errors?
Thanks,
Doug