A
auujxa2 via AccessMonster.com
I have a form open on startup, and code run on the form open. All the code
does is follow a hyperlink, then close the database.
I'm basically using the database as a "portal" from a frontpage website, so
anyone who does not have access to the department drive (where the database
is), won't be able to access the file that the hyperlink opens.
My problem is that the hyperlink opens the folder properly, closes the
database properly, all is well....
BUT
The database opens again and hiccups, and I get an error message (after it
performed everything i needed it to)
The code is simple:
Private Sub Form_Open(Cancel As Integer)
Shell ("Explorer.exe \\belk1\cltmd_public\Corp Reports\Private Brands")
DoCmd.Quit
End Sub
does is follow a hyperlink, then close the database.
I'm basically using the database as a "portal" from a frontpage website, so
anyone who does not have access to the department drive (where the database
is), won't be able to access the file that the hyperlink opens.
My problem is that the hyperlink opens the folder properly, closes the
database properly, all is well....
BUT
The database opens again and hiccups, and I get an error message (after it
performed everything i needed it to)
The code is simple:
Private Sub Form_Open(Cancel As Integer)
Shell ("Explorer.exe \\belk1\cltmd_public\Corp Reports\Private Brands")
DoCmd.Quit
End Sub