Solved

Get machine ID of Access user

Posted on 2013-05-17
1
797 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
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…

738 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