<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>1 Nov 2019 07:57:44 Z</lastBuildDate><pubDate>31 Oct 2019 16:44:56 Z</pubDate><description>There is probably a very easy way around this, but I cannot find it.&#13;
&#13;
I have set up a server trigger on a table which is activated after a new record is added or changed.  That works fine and the trigger runs perfectly. &#13;
&#13;
All I need to do now is find out which record activated the trigger. Is there a command avaialbve which can return the record number of the table?&#13;
&#13;
Any suggestions are welcome.&#13;
&#13;
Thanks&#13;
Simon</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger/read.awp</link><title>Identifying the record the caused a trigger</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>gpredl</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67369/read.awp</comments><pubDate>1 Nov 2019 07:57:44 Z</pubDate><description>Hi, of course, the automatic identifier is calculated &amp; inserted while writing the record to disk. So, before writing it is not …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67369/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67369/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger/read.awp">Identifying the record the caused a trigger</source><title>Re: Identifying the record the caused a trigger</title></item><item><author>sdbxox</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67368/read.awp</comments><pubDate>31 Oct 2019 23:35:56 Z</pubDate><description>Ok, got it.  It was because I was using the HSave in the Add trigger code.  All I have now done is changed the fields as I need …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67368/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67368/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger/read.awp">Identifying the record the caused a trigger</source><title>Re: Identifying the record the caused a trigger</title></item><item><author>sdbxox</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67367/read.awp</comments><pubDate>31 Oct 2019 23:22:21 Z</pubDate><description>Ok, I have got round this by removing the Add Tigger and simply calling the Stored procedure from the client using HExecuteProce…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67367/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67367/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger/read.awp">Identifying the record the caused a trigger</source><title>Re: Identifying the record the caused a trigger</title></item><item><author>sdbxox</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67364/read.awp</comments><pubDate>31 Oct 2019 17:19:29 Z</pubDate><description>Thanks for your quick reply Guenter.&#13;
&#13;
I suspected that would be the case, however, in the trigger code, I wrote a small amount…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67364/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67364/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger/read.awp">Identifying the record the caused a trigger</source><title>Re: Identifying the record the caused a trigger</title></item><item><author>gpredl</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67361/read.awp</comments><pubDate>31 Oct 2019 16:56:32 Z</pubDate><description>Hi, within the trigger code the whole buffer to be written is availabe!</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67361/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger-67361/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67360-identifying-record-caused-trigger/read.awp">Identifying the record the caused a trigger</source><title>Re: Identifying the record the caused a trigger</title></item></channel></rss>
