BigJimSlade
Registered User.
- Local time
- Today, 08:00
- Joined
- Oct 11, 2000
- Messages
- 173
Hi, Big Jim here:
Most bizarre problem. I open Access from VB using the following code:
Public gAccess As New Access.Application
gstrDatabaseFullPath = [Whatever database I am opening.mdb]
gAccess.OpenCurrentDatabase gstrDatabaseFullPath
gAccess.DoCmd.SetWarnings True
gAccess.Visible = True
(References = DAO 3.51 Object Library and Access 10.0 Object Library)
Now when I do this, the application opens up just fine and I can see the database. However, the warnings are off, because I am forced to save dummy queries I just want to close out of and no warning messages come up when I attempt to modify data (DDL).
Any thoughts?
Thanks in advance,
Big Jim
Most bizarre problem. I open Access from VB using the following code:
Public gAccess As New Access.Application
gstrDatabaseFullPath = [Whatever database I am opening.mdb]
gAccess.OpenCurrentDatabase gstrDatabaseFullPath
gAccess.DoCmd.SetWarnings True
gAccess.Visible = True
(References = DAO 3.51 Object Library and Access 10.0 Object Library)
Now when I do this, the application opens up just fine and I can see the database. However, the warnings are off, because I am forced to save dummy queries I just want to close out of and no warning messages come up when I attempt to modify data (DDL).
Any thoughts?
Thanks in advance,
Big Jim