currentuser to populate a field

P

Paul Willliams

Hi all

I have a quick question.... I would like the currentuser to populate a field
in a table. I have tried using the =currentuser() function without effect. If
i add it on a form then it defaults the whole table to that user. I would
like the current user to be recorded against each record

Does any one have any ideas how i can do this???

Cheers

Paul
 
N

Nikos Yannacopoulos

Paul,

Add a text field in the table to hold the user information; add a
textbox in the form, bound to that field, and set its default value to
=currentuser(). This will do it for all new records created. Note: the
textbox doesn't have to be visible!

HTH,
Nikos
 
P

Paul Willliams

Is there no other way.. Currently I have no security. This will be a later
addition is there another way.. Say to pick up the windows login????
 

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