Extract user id

G

Guest

Within my database I have a notes system which allows network users to go on
and add notes to jobs.

If i create a new column called 'user id' on my notes table and form, is
there a formula or function that will extract the users network id and enter
it into the note. This will allow us to trace who put the notes on.


Any help would be apprecited

Christopher Buxton
 
G

Guest

There is a much easier solution then that. Simply use Environ$("UserName").

It will return you the username of the person currently logged on the PC.

Yanick
 
D

Dirk Goldgar

Yanick said:
There is a much easier solution then that. Simply use
Environ$("UserName").

It will return you the username of the person currently logged on the
PC.

That's dependent on the operating system's storing the value in that
environment variable, and on the devious user not changing it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top