If you already have a view open that uses that connection and the connection is shared, you can use CURSORGETPROP('ConnectHandle', 'ViewName') to return that Remote View's connection handle. You can then use that handle for your SPT.
Mark McCasland
Midlothian, TX USA