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 / New Users / May 2008

Tip: Looking for answers? Try searching our database.

Auto Entry

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Thanks in advance - 22 May 2008 04:16 GMT
I am designing a very basic data collection tool for a small business.  
Multiple users are entering data into this repository.

I have added a "UserName" field into the main table and would like it to
automatically capture the initials of the person entering the information in
a record.

As a new user, I would prefer to accomplish this with macros, versus code.
Signature

Pete R

Klatuu - 22 May 2008 16:00 GMT
How do you know the user's initials?
Signature

Dave Hargis, Microsoft Access MVP

> I am designing a very basic data collection tool for a small business.  
> Multiple users are entering data into this repository.
[quoted text clipped - 4 lines]
>
> As a new user, I would prefer to accomplish this with macros, versus code.
Wayne-I-M - 22 May 2008 16:04 GMT
Hi

You don't need any macros or code for this (you could use the mid and left
functions but you don't to)

Create a table call tblNames
Initails = Primary field
Name = text

Go to your main table
insert a field called UserName

Next go to your form and open it in design view
Open the tool box
Select Combo Box
Place it somewhere on your form you like
Use the wizard that wll open to select the tblNames as the record source for
the combo
Select Save to UserName field in the wizard
Save and close

Now when you look at the record you will have the initails of the person who
updated the form (if they have used the combo)

Of course if you want to you can force people to update the combo (but you
would need a little code for this).  You cna insert the date it was updated,
etc etc.

Once you have got all this going you can even make a report or when the form
was updated (each time) and who did it - but that will take a little longer
and will need a new tables to store the dates, etc.

O

Signature

Wayne
Manchester, England.

> I am designing a very basic data collection tool for a small business.  
> Multiple users are entering data into this repository.
[quoted text clipped - 4 lines]
>
> As a new user, I would prefer to accomplish this with macros, versus code.
 
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.