Solved

Get machine ID of Access user

Posted on 2013-05-17
1
784 Views
Last Modified: 2013-05-17
I need to capture the machine ID of the user. How do I go about doing that in VBA?
The problem is that I can get the user ID now, but we need to log where the user is accessing an application and entering data into it. This is for quality assurance tracking purposes in a production system.

An example: Only new parts should go into a new product, so if the user is entering data in a system that only is used in a warehouse that has used parts then something might be wrong...
0
Comment
Question by:EvertJor
1 Comment
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 500 total points
ID: 39176520
Two ways:

1 (preferred)

http://access.mvps.org/access/api/api0009.htm

2)
Dim x
x = Environ("ComputerName")
Returns the DeviceID
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question