General discussion

Locked

Obtain IP Address

By danco1000 ·
Does anyone know how to get Microsoft Access to obtain the IP address of the person opening a database?

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Obtain IP Address

by Blaine Moore In reply to Obtain IP Address

You can use the Connection property to return a reference to the current ActiveX Data Objects (ADO) Connection object and its related properties.

Setting

[object.]Connection[.method or property]

The Connection property uses the following settings.

Setting Description
object The CurrentProject or CodeProject object.
Connection Required. When used without specifying a method or property, returns the Connection object's ConnectionString property.
method or property A method or property of the Connection object.


The Connection property is available only by using Visual Basic and is read-only.

Remarks

Use the Connection property of the CurrentProject object to refer to the Connection object of the current MicrosoftAccess project (.adp) or Access database (.mdb) object. Use the Connection property of the CodeProject object to refer to the Connection object of the Access project or Access database code database object. You can use the Connection property to call methods on the Connection object such as BeginTrans and CommitTrans.

Notes The Connection property actually returns a reference to a copy of the ActiveX Data Object (ADO) connection for the active database. Thus, applying the Close method or in anyway attempting to alter the connection through the Connection object’s methods or properties will have no affect on the actual connection object used by Microsoft Access to hold a live connection to the current database. Since the Connection property is the main Shape provider connection, the following information is necessary when using this property.

Collapse -

Obtain IP Address

by danco1000 In reply to Obtain IP Address

Poster rated this answer

Collapse -

Obtain IP Address

by danco1000 In reply to Obtain IP Address

This question was closed by the author

Back to Software Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums