How to read the Computer Name in System Properties from Access?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Within Microsoft Access (97) I want to be able to read the 'Computer Name' in
basic coding of the computer that is currently being used. The 'Computer
Name' tab is listed under the 'System Properties' window but I do not know
how to reference it. Thanks.
 
Try using;

environ$("computername")

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Within Microsoft Access (97) I want to be able to read the 'Computer Name'
in
| basic coding of the computer that is currently being used. The 'Computer
| Name' tab is listed under the 'System Properties' window but I do not know
| how to reference it. Thanks.
 
You're welcome.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Brilliant - thanks Dave
|
| "Pootle" wrote:
|
| > Within Microsoft Access (97) I want to be able to read the 'Computer
Name' in
| > basic coding of the computer that is currently being used. The 'Computer
| > Name' tab is listed under the 'System Properties' window but I do not
know
| > how to reference it. Thanks.
 
Back
Top