Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / SQL Server / ADP / August 2005

Tip: Looking for answers? Try searching our database.

How to Read login username from ADP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kai - 07 Aug 2005 01:08 GMT
Hi,
I have Access 2003 and SQL2k. I use ADP to connec Sql Login, after a user
enter his username and password in SQL Login, I want to read the username
(assign to varible)for Access programming. How do I read the username in
Access after a user login?

Thanks

Kai
giorgio rancati - 07 Aug 2005 11:16 GMT
Hi Kay,

----
SYSTEM_USER
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_sysu
sr_3c8i.asp

----

in VBA
----
strUserName=Dlookup("system_user","sysobjects")
----

Ciao
Giorgio

> Hi,
>  I have Access 2003 and SQL2k. I use ADP to connec Sql Login, after a user
[quoted text clipped - 5 lines]
>
> Kai
kai - 07 Aug 2005 17:27 GMT
Hi Ciao,

 Thank you so much, it works like magic.

Kai
> Hi Kay,
>
[quoted text clipped - 21 lines]
>>
>> Kai
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.