Ok this is the problem, I will start from scratch.
Im making a database that multiple users will need to use to record there
actions, and i need to record the names of the people against every action.
For example, at present i have created a dropdown bow so the user can select
there name when they add a record, but they do this every time. Is there a
way i can make it remember the name they last input? Can this be done while
multiple people are using at the same time?
What id like to do in an ideal world is, have the user open the database and
have the work log populate there name withoutthem even logging in, so they
for example might open the database, enter there employee number then have
the database auto populate there name in the name field of the table but i
dont think this is possible.
Very greatful for any tips
Thanks
Chris
Allen Browne - 27 Feb 2007 23:43 GMT
If you are okay with VBA code, you can copy the code from here:
http://www.mvps.org/access/api/api0008.htm
and paste it into a module in your database. Then set the Default Value of
the control that should store the user's name to:
=fOSUserName()

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
> Ok this is the problem, I will start from scratch.
>
[quoted text clipped - 22 lines]
>
> Chris
Chris - 28 Feb 2007 13:52 GMT
Im only new to vba but i think i can work it out.
Thanks.
Chris
> If you are okay with VBA code, you can copy the code from here:
> http://www.mvps.org/access/api/api0008.htm
[quoted text clipped - 28 lines]
> >
> > Chris