> Dim DBName, NewDBName as String
If you *don't* explicitly assign a data type to DBName (as it hasn't been in
this line of code), DBName will be a variant.
> How do I code this so it will proceed with the compact
DBEngine.CompactDatabase DBName, NewDBName, dbLangGeneral &
";pwd=accessgranted", , ";pwd=accessgranted"
Steven - 05 Nov 2006 03:06 GMT
You have done it again.
Thank you very much.
Granny Spitz - 06 Nov 2006 02:56 GMT
> Thank you very much.
You're welcome, Steven. Good luck with your project.