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!

CreateObject("Access.Application")

Status
Not open for further replies.

atzsea

Programmer
Jun 1, 2005
49
JP

After declaration of ACCESS application,

Code:
Dim AccApp As Object
Set AccApp = CreateObject("Access.Application")
AccApp.Visible = True

After this,

1. I wish to open another prepared DB (Form) in this new Access window.

2. I wish to do other things. What can I do?

I need help.
 
Here are some code from one of my Access database.
Code:
    dim appAccess as Access.Application
    Set appAccess = New Access.Application
    appAccess.OpenCurrentDatabase strFilePathAndName
    appAccess.Visible = True
    appAccess.DoCmd.OpenForm strFormName
Hope this can help you.

Seaport
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top