T
Tim
Hi everyone,
I have the following code to compact my database. When I
ran my code, I got an error message because my database
was secured. My user name is TIM and password is 123.
Could anyone tell me how to use VBA to logon as TIM and
compact the database?
Public Sub test()
DBEngine.CompactDatabase "c:\tempdb\db2.mdb", "c:\tempdb\db
2_test.mdb"
End Sub
Thanks a lot.
Tim.
I have the following code to compact my database. When I
ran my code, I got an error message because my database
was secured. My user name is TIM and password is 123.
Could anyone tell me how to use VBA to logon as TIM and
compact the database?
Public Sub test()
DBEngine.CompactDatabase "c:\tempdb\db2.mdb", "c:\tempdb\db
2_test.mdb"
End Sub
Thanks a lot.
Tim.