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
Microsoft AccessASP.NETSQL

Avatar of undefined
Last Comment
rito1

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)

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
Jim Dettman (EE MVE)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
rito1

ASKER
Brilliant thank you.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck