Hoi,
Volgende viel mij op:
wanneer ik een database in Access 97 in Access zelf afsluit verdwijnt ook het ldb-bestandje.
Doe ik het zelfde via VB code dan blijft het ldb-bestandje staan, terwijl alles al afgesloten is...
volgende code gebruik ik vanuit VB 6:
Sub subStartenDatabase()
Dim objAccess As Access.Application
Set objAccess = CreateObject("Access.Application.8")
objAccess.OpenCurrentDatabase strDoellocatie & funBestandsNaam(strDatabase)
objAccess.Run "subStart"
objAccess.CloseCurrentDatabase
Set objAccess = Nothing
End Sub
Iemand een idee hoe dit komt? Bedankt alvast!!
Volgende viel mij op:
wanneer ik een database in Access 97 in Access zelf afsluit verdwijnt ook het ldb-bestandje.
Doe ik het zelfde via VB code dan blijft het ldb-bestandje staan, terwijl alles al afgesloten is...
volgende code gebruik ik vanuit VB 6:
Sub subStartenDatabase()
Dim objAccess As Access.Application
Set objAccess = CreateObject("Access.Application.8")
objAccess.OpenCurrentDatabase strDoellocatie & funBestandsNaam(strDatabase)
objAccess.Run "subStart"
objAccess.CloseCurrentDatabase
Set objAccess = Nothing
End Sub
Iemand een idee hoe dit komt? Bedankt alvast!!