<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>11 Mar 2015 12:28:00 Z</lastBuildDate><pubDate>11 Mar 2015 08:40:00 Z</pubDate><description>Hi guys!&#13;
Does anyone met with this situation?&#13;
I have a TABLE control that display result of SQL query (non-embedded) where I need to delete a record. After reading documentation I do so:&#13;
RecordToDelete is int = HRecNum(QRY_Query) In result RecordToDelete contains invalid record number - it is not match to the real record in the file and record with other record number is deleted.&#13;
&#13;
HDelete(File,RecordToDelete) - incorrect record is deleted&#13;
HDelete(QRY_Query,RecordToDelete) - record is not deleted&#13;
&#13;
Is it bug or "feature"?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50895-hrecnum-bug-with-query/read.awp</link><title>HRecNum bug with query?</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/50895-hrecnum-bug-with-query-50900/read.awp</comments><pubDate>11 Mar 2015 12:28:00 Z</pubDate><description>Hi,&#13;
&#13;
hRecNum on a query returns a sequential number, (counting from 1) that does not correspond to the physical recordnumber.&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50895-hrecnum-bug-with-query-50900/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50895-hrecnum-bug-with-query-50900/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50895-hrecnum-bug-with-query/read.awp">HRecNum bug with query?</source><title>Re: HRecNum bug with query?</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50895-hrecnum-bug-with-query-50898/read.awp</comments><pubDate>11 Mar 2015 10:03:00 Z</pubDate><description>Arekusei&#13;
&#13;
HRecNum(QRY_Query) returns the number of records found (fetched) by the query not the id of the record.&#13;
&#13;
You need …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50895-hrecnum-bug-with-query-50898/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50895-hrecnum-bug-with-query-50898/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50895-hrecnum-bug-with-query/read.awp">HRecNum bug with query?</source><title>Re: HRecNum bug with query?</title></item></channel></rss>
