<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>18 Sep 2017 11:27:00 Z</lastBuildDate><pubDate>18 Sep 2017 11:27:00 Z</pubDate><description>Hi,&#13;
&#13;
I'm implementing an undo function.&#13;
Among other things it can restore deleted records from a buffer.&#13;
Now I was wondering if it would be safe to re-use the automatic identifier from the original record.&#13;
HFSQL never uses the id's of deleted records again, so I'm guessing it would be safe.&#13;
No big deal, since we will not likely run out of id's.&#13;
I guess I still have an compulsory urge to re-use and optimize. (from my early programming days)&#13;
&#13;
Also, it's not entirely clear to me what exactly is the difference between hSetIdAuto and hForceIdAuto.&#13;
If I understand correctly the difference is that hSetIDAuto will always use the highest id+1 an hForceIdAuto will do the same, but ignoring the manually added id.&#13;
&#13;
Kind regards,&#13;
Piet</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62676-hfsql-use-automatic/read.awp</link><title>HFSQL: re-use automatic id</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
