<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>16 Feb 2011 11:28:33 Z</lastBuildDate><pubDate>15 Feb 2011 11:42:14 Z</pubDate><description>Hello,&#13;
i want to use an insertquery in windev and then immeadiately ask the inserted key.&#13;
I know i can do it by "max" but is it realy this inserted key that he returns..&#13;
Imagine when someone else inserts on the same moment a key and you ask for the max.&#13;
How can you be sure that the id is your inserted key.&#13;
hexecutequery(INSERTQUERYNAME)&#13;
thanks</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/30754-windev-insert-query-get-last-inserted/read.awp</link><title>Windev  : insert query + get last inserted id</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/30754-windev-insert-query-get-last-inserted-found-30774/read.awp</comments><pubDate>16 Feb 2011 11:28:33 Z</pubDate><description>with retrieveitem it works , but not on the queryname but on the table itself.&#13;
lastInsertedRecord is string = HRetrieveItem(Tab…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/30754-windev-insert-query-get-last-inserted-found-30774/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/30754-windev-insert-query-get-last-inserted-found-30774/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/30754-windev-insert-query-get-last-inserted/read.awp">Windev  : insert query + get last inserted id</source><title>Re: windev  : insert query + get last inserted id FOUND</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/30754-windev-insert-query-get-last-inserted-30759/read.awp</comments><pubDate>15 Feb 2011 16:49:55 Z</pubDate><description>I tried to : &#13;
qry_AddStop.ParamSoortnr = IncSoortNr&#13;
HExecuteQuery(qry_AddStop)&#13;
laatstestop is string = HRetrieveRecord(qry_Ad…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/30754-windev-insert-query-get-last-inserted-30759/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/30754-windev-insert-query-get-last-inserted-30759/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/30754-windev-insert-query-get-last-inserted/read.awp">Windev  : insert query + get last inserted id</source><title>Re: windev  : insert query + get last inserted id</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/30754-windev-insert-query-get-last-inserted-30756/read.awp</comments><pubDate>15 Feb 2011 14:50:05 Z</pubDate><description>Hi,&#13;
will this do the trick&#13;
Rec is string = HRetrieveRecord(INSERTQUERYNAME)&#13;
Returns the content of the current record (in a f…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/30754-windev-insert-query-get-last-inserted-30756/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/30754-windev-insert-query-get-last-inserted-30756/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/30754-windev-insert-query-get-last-inserted/read.awp">Windev  : insert query + get last inserted id</source><title>Re: windev  : insert query + get last inserted id</title></item></channel></rss>
