B
B. Meincke
I have a subroutine that backs up our database backup before updating it each
day...
strMyDB = CurrentDb.Name
strPath = Left(strMyDB, LastInStr(strMyDB, "\"))
strDest = strPath & "AttdB_BE.mdb"
strDate = Format(Date, "yyyy-mm-dd")
strBkup = strPath & "BE Backups\" & strDate & " (after).mdb"
If Dir(strBkup) <> "" Then Kill strBkup
FileCopy strDest, strBkup
DoCmd.Hourglass False
As the database is fairly large, this is eating up a lot of server space!
Is there any way I can revise the code so that the resulting files are
compressed, using the compression software built into WXP?
Thanks in advance as always!
day...
strMyDB = CurrentDb.Name
strPath = Left(strMyDB, LastInStr(strMyDB, "\"))
strDest = strPath & "AttdB_BE.mdb"
strDate = Format(Date, "yyyy-mm-dd")
strBkup = strPath & "BE Backups\" & strDate & " (after).mdb"
If Dir(strBkup) <> "" Then Kill strBkup
FileCopy strDest, strBkup
DoCmd.Hourglass False
As the database is fairly large, this is eating up a lot of server space!
Is there any way I can revise the code so that the resulting files are
compressed, using the compression software built into WXP?
Thanks in advance as always!