Link to home
Start Free TrialLog in
Avatar of rito1
rito1

asked on

Active Connection Count in Microsoft Access

Hi All,

I am creating an ASP.NET website which connects to MS Access 2007 database.

How can I find out how many active connections the database currently has?.. I want to check if my code isn't closing them.

Thanks,

Rit
ASKER CERTIFIED SOLUTION
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Attached is an mdb with a form that opens.
When you click the button, it shows in a list (from a table) all the users connected to the current mdb.
Be *sure* you have a reference set to both Microsoft DAO 3.6 Object Library and Microsoft ActiveX Data Objects 2.8 Library

You s/b able to adapt it to your needs ...

mx
ShowUsers.zip
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rito1
rito1

ASKER

Brilliant thank you.