Solved C&R Backend

Looked at that and found this line:
Code:
DBEngine.CompactDatabase strDestination & ".cpk", strDestination, , , ";pwd=YourPassword"
However I currently have this:
Code:
 DBEngine.CompactDatabase sSourceFile, sSourcePath & sFileName & "_Temp" & sExt

Variables don't seem to match up?
 
Looked at that and found this line:
Code:
DBEngine.CompactDatabase strDestination & ".cpk", strDestination, , , ";pwd=YourPassword"
However I currently have this:
Code:
 DBEngine.CompactDatabase sSourceFile, sSourcePath & sFileName & "_Temp" & sExt

Variables don't seem to match up?
So, what happens if you changed yours to this?
Code:
 DBEngine.CompactDatabase sSourceFile, sSourcePath & sFileName & "_Temp" & sExt, , , ";pwd=YourPasswordHere"
Just curious...
 
Works fantastic!!
 

Users who are viewing this thread

Back
Top Bottom