Hi,

Has anyone thought of a good trick for getting the connection number for a currently open linked, cached table? - Perhaps I have missed something simple.

I realise that unless you refresh the table, the connection won’t be open, but it would be handy to be able to get the connection number for a table that is linked and has been refreshed.

I have a number of connection  functions to: list connections (supplied by this list), check if one is still open, and close all connections; but not an elegant solution for this one.

I even have a function that does this trick for one application, but I currently use specific named DSN connections for the application and various tables are linked to those connection names, so I can check through the list of connections and look for a matching Data Source Name to the one that is supposed to be associated with that table.

Perhaps I could close all connections, then refresh the table, and it would the only connection open.  However, sometimes the refresh can take a few minutes, so it would be nice if there were a better way.

I am sure that I will want to do this at some stage in the future.

r

 

-------------------------------------------

Robert Crossley

Agtrix P/L Australia

 

Far Southern Queensland Office:

9 Short Street

PO Box 63

New Brighton 2483

 

P: 61 2 6680 1309

F: 61 2 6680 5214

E: [EMAIL PROTECTED]

W: www.agtrix.com

 

Brisbane Office:

109 Milsom St

Cooparoo  4151

Queensland

P: 61 7 3843 3363

 

 

 

 

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to