IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Microsoft Access question
Is there a way to grab an environment variable to use in a query and add to a table? Company stores users ID in the env. I tried using the CurrentUser() but that returns Admin for everyone.

Basically I have a form that is used to provide query inputs. Was fine until muliples started using it. Now I need to provide a user id column to the input form and to the queries so that I get the correct person's request.

Clear as mud... :-)

Any help would be appreciated.

Thanks
Joe
New Does "USERNAME" work?
http://www.utteracce...php?Number=693880

Also see - http://www.dbforums....nt-variables.html

HTH a little.

Cheers,
Scott.
(Who has only used MS Access a tiny bit.)
New FInally had time to test it
And it works. Grabbed the Environ("Username"), put it on the form and then told the query to use the value on the form. Tomorrow I'll move it into production...

Thanks Scott for the help.

Joe
     Microsoft Access question - (jbrabeck) - (2)
         Does "USERNAME" work? - (Another Scott) - (1)
             FInally had time to test it - (jbrabeck)

Clearly you have a security problem - and it's got nothing to do with computers.
66 ms