Hi, Pieter.
Two ways:
1.) Use the DAO library to create a new Workspace object. In that
workspace, use VBA to login as the other user with the appropriate password
and workgroup information file.
2.) Shell out to DOS and use the command line switches for the other
UserID, password, and workgroup information file.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)
"Pieter" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> What I want to do is that 1 user has his application open, but is able to
open another
> instance of Acces from a different user ( also different WG).
>
> How to code this in VBA that this new instance of Acces is loggedin as
that other user?
>
> Pieter.