I'm opening another access database using the following code:
I'm not changing or updating anything in the other database, but still the timestamp of the other database is modified ==> here I mean the Date modified of the mdb- or accdb-file in the filesystem.
How can I prevent this from happening?
Code:
[SIZE=2]Private Sub OpenTargetDB()[/SIZE]
[SIZE=2]Set accapp = New Access.Application[/SIZE]
[SIZE=2]accapp.OpenCurrentDatabase (TargetDBName)[/SIZE]
[SIZE=2]'accapp.Visible = True[/SIZE]
[SIZE=2]End Sub[/SIZE]
[SIZE=2][/SIZE]
[SIZE=2]Private Sub CloseTargetDB()[/SIZE]
[SIZE=2]'accapp.Visible = False[/SIZE]
[SIZE=2]accapp.CloseCurrentDatabase[/SIZE]
[SIZE=2]Set accapp = Nothing[/SIZE]
[SIZE=2]End Sub[/SIZE]
I'm not changing or updating anything in the other database, but still the timestamp of the other database is modified ==> here I mean the Date modified of the mdb- or accdb-file in the filesystem.
How can I prevent this from happening?