Hello to all of you .
I have used the below code but the database just opens and closes??
Code:
Sub OpenAccess() Dim LPath As String Dim LCategoryID As Long LPath = "C:\Directory\Filename.mdb" Set oApp = CreateObject("Access.Application") oApp.Visible = True oApp.OpenCurrentDatabase LPath End Sub</PRE>
Please anybody know how to keep it open?
Thank you,
The Best Regards,
BorisGomel
I have used the below code but the database just opens and closes??
Code:
Sub OpenAccess() Dim LPath As String Dim LCategoryID As Long LPath = "C:\Directory\Filename.mdb" Set oApp = CreateObject("Access.Application") oApp.Visible = True oApp.OpenCurrentDatabase LPath End Sub</PRE>
Please anybody know how to keep it open?
Thank you,
The Best Regards,
BorisGomel