On 12/09/2011 10:03 PM, nore...@z505.com wrote: > When I press the test button in the query.sql it responds with test OK. So > it is connecting to the database and working from that way. The error > "gone away" has something to do with when the statement is preparedand/or > something to do with the transaction. > > when you hit the test button in the SQL edit window, does this test send a > query to the database to verify sql is okay? Does it not use transactions > or prepared statements or something different in that case? what does the > test actually do.. which API call does it make.. > It sets dataset.active to true. lib/common/regcomponents/regdb.pas: " procedure tmsesqlpropertyeditor.doafterclosequery( var amodalresult: modalresultty); var bo1: boolean; begin if amodalresult = mr_canclose then begin if fintf <> nil then begin bo1:= fintf.getactive; fintf.setactive(true); fintf.setactive(bo1); end; end; end; " Martin
------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk