Albert answered the first question. As to the user login, if you mean the
network login, you can get the code at this link:
http://www.mvps.org/access/api/api0008.htm

Signature
Dave Hargis, Microsoft Access MVP
Thank you for your reply - it is not the network login, but the login for the
Accounting software package that I am linking to.
> Albert answered the first question. As to the user login, if you mean the
> network login, you can get the code at this link:
[quoted text clipped - 14 lines]
> >
> > Thanks for your help
Klatuu - 01 Apr 2008 22:51 GMT
You could still use the API to determine who is logged on.
Then create a table with userID and the accounting package login. Then you
call use a DLookup to find the password for the user who is logged in.

Signature
Dave Hargis, Microsoft Access MVP
> Thank you for your reply - it is not the network login, but the login for the
> Accounting software package that I am linking to.
[quoted text clipped - 17 lines]
> > >
> > > Thanks for your help
Albert D. Kallal - 02 Apr 2008 00:44 GMT
> Thank you for your reply - it is not the network login, but the login for
> the
> Accounting software package that I am linking to.
Hum, I think in this case, I would simply store this info in a table.
Perhaps even a one record table. That way, you make the box that prompts the
user as a bound form to a table. If the form is bound then next time the
user opens that form, the old informaton will be retained....

Signature
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com