On Thursday 23 August 2012 18:11:22 news.gmane.org wrote: > >> to put the query to offline mode. > > > > This works at opening the query only. Please use > > " > > query.connected:= false; > > " > > on an active tmsesqlquery. > > As me understand the order me should: > - set dso_offile for the query in the ObjInsp (it mark the query for > special handling )
dso_offline cause tmsesqlquery to disconnect from database after setting avtive to true automatically. You don't need to set dso_offline if you set "query.connected:= false;" in code. > - activate the query to get its data > - disconnect the query (or all offline queries by disconnecting their > connection) > The query will be disconnected automatically by dso_offline, see above. > Correct ? > > And how to reconnect - single and multiple query[es], connection,... ? In order to reconnect an active tmsesqlquery, set "query.connected:= true;". It will connect the database too. Martin ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk