What is connected to my session ?

Hi all !

A very easy question :
how to know all my TOracleDataSet & TOracleQuery connected to my TOracleSession ? :confused:

I need to know because I want to delete a TOracleSession...but I don't know if it is still used by any TOracleDataSet or TOracleQuery

Thanks in advance,
Laurent
 
finally, I found a solution that suits me :

=> I display MyTOracleSession.DataSets.lockList.count
at runtime

if equal to 0, no problemo for deletion :o )

I think it's a good solution, isn't it ? :o )
 
If you want to know if at design-time you still have code and/or components linked to a session, search for that session name in the .pas and .dfm files. You need to use Text DFM's for this.
 
Back
Top