accessblog ([info]accessblog) wrote,
@ 2009-10-29 16:10:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
How to relink Access tables faster

When you run relink procedure at application startup, and backend file is located on the network – the process can be much slower then relinking local file, even with very fast network. The trick is to open backend file before relink process and close it after. Sample code:

Dim dbData  As DAO.Database
Set dbData = DBEngine.OpenDatabase(strFileName)
'Relink proc follows
...
 
dbData.Close
Set dbData = Nothing



Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…