Re: How to Get Database Name from ConnectionID?
Indeed there is no function in the box for this.
I used
Code:
Get ConnectionIdInfo of ghoConnection sId to tConnectionVariable
Move tConnectionVariable.sString to soLogin
to get the useful bit of the connection string, then pulled the database name off that.
I was hoping for an "In the Box" method..
Michael Mullan.
Danes Bridge Enterprises.
++++++++++++++++++++++++++++
There is just today. Tomorrow is a concept
that is mostly theoretical. -- GM Wylie
++++++++++++++++++++++++++++