str = "select nt_username, hostname, nt_domain, loginame, login_time, program_name " &
"from master.sys.sysprocesses where spid=@@SPID"
-This is the Query to display the username in the application.
-The client is MS-Access 2003, MDAC 2.8
-It was and is Ok both on SQL 2005 and SQL 2000. The qury runs under Query Analyzer 2000 or Management Studio 2005 without problem
-After Downloading the updates from Microsot Website. The embedded code returns no result set:
Data provider or other service returned an E_FAIL status
If anybody has any idea, I will be thankful.