Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form_Close() Quits Access

Status
Not open for further replies.

ginoitalo

Programmer
Feb 15, 2003
23
CA
I open an Access project via a VB6 app like so:
Code:
Dim appAccess As Object
Set appAccess = CreateObject("Access.Application")
appAccess.OpenAccessProject "C:\Project001.adp"
appAccess.Visible = True

When I close a particular form, the Access database exits. This doesn't happen with all forms and there is a hidden form always open so it's not like it's the last form being closed.

This form isn't bound to a table or anything, rather it's just an unbound text box and a button, the form has no events on_close, it has no event handlers preiod.

Tips:
-This doesn't happen if I open the project without the VB app. (ie. double click it in Windows Explorer)

-I found no difference if I kept the VB app open or closed during the Access project lifespan


Does anyone know why this is happenning?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top