SQL transaction state error

From: Hof, Philipp <"Hof,>
Date: Mon, 04 Nov 2002 16:29:16 +1300

----boundary-LibPST-iamunique-1733190399_-_-
Content-type: text/plain

Hi,

I am using Blackbox 1.4 educational version with Windows XP and the desktop
MS SQL Server 7.0.

I can successfully connect to the SQL server with the Blackbox's own SQL
Browser and execute my SQL statements. However if I close then the SQL
Browser dialog the following message pops up:

[Microsoft][ODBC SQL Server Driver]Invalid transaction state

The same happens if I try to close the database connection with this piece
of code:

...

VAR
   table*: SqlDB.Table;

...

PROCEDURE Close*;
BEGIN
   IF table # NIL THEN
      table.Clear;
      table := NIL
   END;
   Services.Collect
END Close;


Any help is welcome.

Thanks, Philipp
--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy

Current posting policy:

a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.

b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.


----boundary-LibPST-iamunique-1733190399_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZG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ZvciBzb21lIHJl
YXNvbiwgeW91IGNhbm5vdCBwb3N0IGZyb20gdGhlIGFkZHJlc3MsIGJ5IHdoaWNoIHlvdSBhcmUg
c3Vic2NyaWJlZCwgeW91ciBtZXNzYWdlIHdpbGwgYmUgbW9kZXJhdGVkIHRvIGF2b2lkIHNwYW0u
IFBsZWFzZSB1bmRlcnN0YW5kIHRoYXQgbW9kZXJhdGlvbiB3aWxsIG9mdGVuIGNhdXNlIHNvbWUg
ZGVsYXksIGluIHBhcnRpY3VsYXIgb3ZlciB3ZWVrZW5kcyBvciBob2x5ZGF5fX0AMS40IGVk


----boundary-LibPST-iamunique-1733190399_-_---
Received on Mon Nov 04 2002 - 04:29:16 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:34 UTC