How to check if an connection is active

I want to check if a Servoy connection (in this case a connection using JDBC/ODBC) is active or not.
I want to see if the client has a certain ODBC-connection or not, so I can tell the client that he hasn’t got the ODBC-connection that’s needed for a certain action.

Hi Tweetie,

Can’t you just test for a value - primary key or similar - that should be available via the connection and if false then show an error ?

Cheers
Harry