A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Environ$("USERNAME") not working on some computers



 
 
Thread Tools Display Modes
  #1  
Old February 1st, 2006, 03:23 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Environ$("USERNAME") not working on some computers

Hi, I'm using Environ$("USERNAME") to get the network login for whomever is
using a database, and some of the users are getting a NAME#? error. Would
this have anything to do with the version of Windows they're using?

Thanks.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200602/1
  #2  
Old February 1st, 2006, 03:35 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Environ$("USERNAME") not working on some computers

"AimeeK via AccessMonster.com" u15662@uwe wrote in message
news:5b3bdb7e98cde@uwe
Hi, I'm using Environ$("USERNAME") to get the network login for
whomever is using a database, and some of the users are getting a
NAME#? error. Would this have anything to do with the version of
Windows they're using?


It probably has to do with what Jet service pack they have installed,
and whether sandbox mode is enabled or not:

http://support.microsoft.com/kb/239482/en-us
How to configure Jet 4.0 to prevent unsafe functions
from running in Access 2000 and Access 2002

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


  #3  
Old February 1st, 2006, 04:04 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Environ$("USERNAME") not working on some computers

Dirk, Thank you for replying...I did manage to get the fosUserName module to
work, so I'm using that in place of Environ$("USERNAME"). However, I'm just
wondering if they'll have that same problem if the incorrect version of the
Jet service pack is installed. Thanks again.

Dirk Goldgar wrote:
It probably has to do with what Jet service pack they have installed,
and whether sandbox mode is enabled or not:

http://support.microsoft.com/kb/239482/en-us
How to configure Jet 4.0 to prevent unsafe functions
from running in Access 2000 and Access 2002


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200602/1
  #4  
Old February 1st, 2006, 06:37 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Environ$("USERNAME") not working on some computers

"AimeeK via AccessMonster.com" u15662@uwe wrote in message
news:5b3c3584685e2@uwe
Dirk, Thank you for replying...I did manage to get the fosUserName
module to work, so I'm using that in place of Environ$("USERNAME").
However, I'm just wondering if they'll have that same problem if the
incorrect version of the Jet service pack is installed. Thanks again.


fOSUserName() is more reliable than Environ$, anyway. I don't see why
it should be affected by any Jet service packs.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nothing visible in Inbox on most computers Keith Rosenfeld Installation & Setup 0 October 16th, 2005 07:00 PM
.PPS working on some computers, but not all... Nick Powerpoint 11 May 4th, 2005 03:51 AM
Form field errors when working on different computers Access 2000 format andrew v via AccessMonster.com Using Forms 3 March 23rd, 2005 06:23 PM
Can multiple computers have a synchronised email inbox/outbox? Ractive General Discussion 1 January 24th, 2005 12:21 AM
working on the same excel document simultaneously from different computers das Setting up and Configuration 2 March 26th, 2004 08:41 AM


All times are GMT +1. The time now is 07:49 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.