- Local time
- Today, 11:08
- Joined
- Oct 29, 2018
- Messages
- 22,782
So, what happens if you changed yours to this?Looked at that and found this line:
However I currently have this:Code:DBEngine.CompactDatabase strDestination & ".cpk", strDestination, , , ";pwd=YourPassword"
Code:DBEngine.CompactDatabase sSourceFile, sSourcePath & sFileName & "_Temp" & sExt
Variables don't seem to match up?
Code:
DBEngine.CompactDatabase sSourceFile, sSourcePath & sFileName & "_Temp" & sExt, , , ";pwd=YourPasswordHere"