Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / February 2007

Tip: Looking for answers? Try searching our database.

can u auto populate a name in a form ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris - 27 Feb 2007 23:23 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.