I seen something like this here .
with Access 2.0 the queries may stay active until the user closes Access,
but will always disconnect when the user turns off there computer.
what need to be done is convince the DB that the user is gone.
it sounds like the DB connection is being keep open by something , try:
1) in the File Exit script , issue a Disconnect from the DB and see if this
closes the connection.
or
2) (i'm not sure where to look for this) Check the time out value for this
connection (either in Access or SQL) and reduce it (watch out for a value
that is to low and stop the queries from running)
or
3) check you RAS settings at the host (expectly the Time/out or disconnect
settings) this may be keeping the link from the DB to the RAS open even if
there is no one on the other end, you might what to issue a reset device on
disconnect ( if such an option exists ). ****This is where I think the
problem is.****
HTH
Tim - OMG
>I have an application in Access97 that uses RAS/DUN to connect to an SQL
>server and perform some insert and select queries. After disconnecting
>the Dial Up Networking on the Cleint, the session on the Server
>(6.5) stays open for an extremely long time (over 30 Minutes most of the
>time). Under the session are two processes. Details follow:
> 1. Set implicit_transactions Off
> 2. SELECT Name, Address, etc... FROM tblMainInfo
>I am having a problem running out of valid connections until these clear
>out. Should these connection drop soon after the last SQL statement was
>sent? How long should these sessions remain open?
>Any help is appreciated,
>Terry Lowe
>AI