J
Jeff C
This database is set up so that when I open it up, a form loads that has
about 12 sequenced events that run one after the other to update the data
every day.
I want to run the following script:
Option Explicit
Dim oJet 'As DAO.DBEngine
Dim oDB 'As DAO.Database
Const DB_NAME = "FullPathToDatabase.mdb"
Set oJet = CreateObject("DAO.DBEngine.36")
Set oDB = oJet.OpenDatabase(DB_NAME)
oDB.Close
Is there anything I need to use to pause between the Opendatabase and
oDB.Close to allow the events enough time to run? Are there any opinions
about doing this?
Thank you
about 12 sequenced events that run one after the other to update the data
every day.
I want to run the following script:
Option Explicit
Dim oJet 'As DAO.DBEngine
Dim oDB 'As DAO.Database
Const DB_NAME = "FullPathToDatabase.mdb"
Set oJet = CreateObject("DAO.DBEngine.36")
Set oDB = oJet.OpenDatabase(DB_NAME)
oDB.Close
Is there anything I need to use to pause between the Opendatabase and
oDB.Close to allow the events enough time to run? Are there any opinions
about doing this?
Thank you