|
-
May 4th, 2001, 08:50 AM
#1
Thread Starter
Lively Member
detect DB connection
I have some code where I am connecting to a SQL-7 DB. I want to be able to detect the open connection & pass the user into the site.
Whats the correct syntax for this?
objConnection.Open()
> detect connection here<
Thanks,
~Piz
-
May 4th, 2001, 12:11 PM
#2
Frenzied Member
Not sure what your asking here.. but to detect the state of the connection object, use .state
Possible values are:
adStateClosed
adStateOpen
adStateConnecting
adStateExecuting
adStateFetching
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|