<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>22 Jan 2015 23:05:00 Z</lastBuildDate><pubDate>19 Jan 2015 15:06:00 Z</pubDate><description>Hi,&#13;
I am testing an HF SQL (v19) application, that uses transactions.&#13;
As soon as I start the transaction and do a couple of adds, I stop the application (from the debugger/WD). So of course my transaction is now CORRUPTED.&#13;
&#13;
Here is my code for starting the transaction:&#13;
HFTransaction() // -&gt;this is HF SQL&#13;
/// do adding&#13;
IF tr=false&#13;
HTransactionCancel()&#13;
ELSE&#13;
HTransactionEnd()&#13;
END&#13;
&#13;
So at the beginning of my code I have code to catch an interrupted transaction:&#13;
If HTransactionInterrupted(myconnectin)=true&#13;
HTransactionCancel(etc...)&#13;
END&#13;
&#13;
The problem is that HTransactionInterrupted is NEVER true, although I have a corrupted transaction. I know it because as soon as I do a query, I get a report for an interrupted transaction from WD19.&#13;
I tried to run HTransactionCancel, without checking HTransactionInterrupted and it doesn't cancel the transaction ...&#13;
&#13;
The only way to do it, is go to the Control Center and do it Manually ...&#13;
&#13;
Everything works as expected with HF Classic&#13;
&#13;
&#13;
Any Ideas?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel/read.awp</link><title>HtransactionCancel, WD 19</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-50018/read.awp</comments><pubDate>22 Jan 2015 23:05:00 Z</pubDate><description>Hi Steven,&#13;
&#13;
keep us informed please.&#13;
It's a major bug and I hope they fix that in WX20.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-50018/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-50018/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel/read.awp">HtransactionCancel, WD 19</source><title>Re: HtransactionCancel, WD 19</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-50015/read.awp</comments><pubDate>22 Jan 2015 20:39:00 Z</pubDate><description>Hi Steven,&#13;
&#13;
Thank is good new. I'll ask to be informed about that ref. Thank you very much. :spos:&#13;
&#13;
Alexandre Leclerc</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-50015/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-50015/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel/read.awp">HtransactionCancel, WD 19</source><title>Re: HtransactionCancel, WD 19</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-50014/read.awp</comments><pubDate>22 Jan 2015 18:18:00 Z</pubDate><description>Hi Alexandre,&#13;
just got an email from PCSoft that they can now reproduce the problem.&#13;
Incident reference #90 886/258632 - forwa…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-50014/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-50014/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel/read.awp">HtransactionCancel, WD 19</source><title>Re: HtransactionCancel, WD 19</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49992/read.awp</comments><pubDate>21 Jan 2015 21:59:00 Z</pubDate><description>Hi Steven,&#13;
&#13;
Now this is great news! I wish for you that they can reproduce and find the source of the problem. I'll subscribe …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49992/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49992/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel/read.awp">HtransactionCancel, WD 19</source><title>Re: HtransactionCancel, WD 19</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49989/read.awp</comments><pubDate>21 Jan 2015 20:33:00 Z</pubDate><description>Hi Alexandre,&#13;
&#13;
I have finally made a very SIMPLE WD application - with 1 file and 10 lines of code - that ALWAYS shows the pro…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49989/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49989/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel/read.awp">HtransactionCancel, WD 19</source><title>Re: HtransactionCancel, WD 19</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49978/read.awp</comments><pubDate>20 Jan 2015 21:16:00 Z</pubDate><description>Hi Steven,&#13;
&#13;
Indeed, this will convert all "in transaction" records as normal records. So yes, this is the "panic button" solut…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49978/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49978/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel/read.awp">HtransactionCancel, WD 19</source><title>Re: HtransactionCancel, WD 19</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49977/read.awp</comments><pubDate>20 Jan 2015 20:50:00 Z</pubDate><description>Hi Alexandre,&#13;
I haven't used HTransactionFree in my code, but I did use it from the HFSQL CC.&#13;
Double Clicked a file -&gt;Transact…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49977/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49977/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel/read.awp">HtransactionCancel, WD 19</source><title>Re: HtransactionCancel, WD 19</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49976/read.awp</comments><pubDate>20 Jan 2015 20:15:00 Z</pubDate><description>Hi Steven,&#13;
&#13;
Have you tried HTransactionFree()? It did the thing all the time for me, in the same exact context: transactions w…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49976/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49976/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel/read.awp">HtransactionCancel, WD 19</source><title>Re: HtransactionCancel, WD 19</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49975/read.awp</comments><pubDate>20 Jan 2015 20:10:00 Z</pubDate><description>Hi Alexandre and Derek,&#13;
&#13;
the code Derek posted, will NOT help in this situation - I have tried it with NO luck.&#13;
&#13;
The user/ap…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49975/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49975/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel/read.awp">HtransactionCancel, WD 19</source><title>Re: HtransactionCancel, WD 19</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49973/read.awp</comments><pubDate>20 Jan 2015 17:25:00 Z</pubDate><description>Hi DerekT,&#13;
&#13;
Nice little code. I think I'll implement it in the C/S mode of my application. It might be just what I need for th…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49973/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49973/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel/read.awp">HtransactionCancel, WD 19</source><title>Re: HtransactionCancel, WD 19</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49969/read.awp</comments><pubDate>20 Jan 2015 16:05:00 Z</pubDate><description>Steven&#13;
&#13;
I run the following procedure called from the project initialisation.&#13;
Not had any issues during the last 2 years or s…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49969/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49969/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel/read.awp">HtransactionCancel, WD 19</source><title>Re: HtransactionCancel, WD 19</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49964/read.awp</comments><pubDate>20 Jan 2015 15:48:00 Z</pubDate><description>Hi Steven,&#13;
&#13;
It might not be of help, but HTransactionCancel() uses the local users' transaction file. If this file is lost, yo…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49964/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel-49964/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49933-htransactioncancel/read.awp">HtransactionCancel, WD 19</source><title>Re: HtransactionCancel, WD 19</title></item></channel></rss>
