<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>31 Mar 2015 15:14:00 Z</lastBuildDate><pubDate>29 Mar 2015 13:35:00 Z</pubDate><description>Hi,&#13;
&#13;
i am not sure if i use HRecNum correctly:&#13;
&#13;
A table shows all contacts or can seek for specific contacts. To view and edit a contact the user has to doubleclick a contact in the table and then a separate windows opens. In the end of initialization code i use hreadseekfirst(contact, ...) and store the recnum in a variable nRecNum = hRecNum(contact).&#13;
&#13;
If the user changes something and wants to store the changes i use hModify(contact, nRecNum).&#13;
I am not sure if it is ensured that always the correct contact is modified and not another contact.&#13;
Is this correct or can this cause some trouble?&#13;
If the window is non modal and the user changes the content of the table with the customers by searching for a name or customer number, will the recnum of the opened contact windows stay the same or can it change?&#13;
&#13;
Thanks and greetings,&#13;
Markus</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum/read.awp</link><title>[WD] Question about HRecNum</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/51224-question-about-hrecnum-51276/read.awp</comments><pubDate>31 Mar 2015 15:14:00 Z</pubDate><description>Hi Markus,&#13;
&#13;
In addition to what Alexandre states, you might also consider reading records in the state you need them; i.e. rea…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51276/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51276/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum/read.awp">[WD] Question about HRecNum</source><title>Re: [WD] Question about HRecNum</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51275/read.awp</comments><pubDate>31 Mar 2015 15:02:00 Z</pubDate><description>Hi Markus,&#13;
&#13;
Simply set the window with independent HFSQL context and you will have no issues at all.&#13;
&#13;
http://doc.windev.com/…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51275/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51275/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum/read.awp">[WD] Question about HRecNum</source><title>Re: [WD] Question about HRecNum</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51270/read.awp</comments><pubDate>31 Mar 2015 13:26:00 Z</pubDate><description>Hi Darren,&#13;
&#13;
an example: a user is working on a contact (adds some activities or contact persons, changes address etc) and then…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51270/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51270/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum/read.awp">[WD] Question about HRecNum</source><title>Re: [WD] Question about HRecNum</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51268/read.awp</comments><pubDate>31 Mar 2015 12:50:00 Z</pubDate><description>Markus,&#13;
&#13;
That changes things a bit. This isn't a question about using ID or recnum, it's a question of design, process flow an…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51268/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51268/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum/read.awp">[WD] Question about HRecNum</source><title>Re: [WD] Question about HRecNum</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51267/read.awp</comments><pubDate>31 Mar 2015 12:00:00 Z</pubDate><description>Hi,&#13;
&#13;
in an earlier version the user could open only one detail window as modal window. So the ID of the contact didnt changed …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51267/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51267/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum/read.awp">[WD] Question about HRecNum</source><title>Re: [WD] Question about HRecNum</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51265/read.awp</comments><pubDate>31 Mar 2015 11:15:00 Z</pubDate><description>Hi,&#13;
&#13;
Still the same - I never use the record number for a DB record. In the Analysis, I always define an auto incrment (unique…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51265/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51265/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum/read.awp">[WD] Question about HRecNum</source><title>Re: [WD] Question about HRecNum</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51264/read.awp</comments><pubDate>31 Mar 2015 11:02:00 Z</pubDate><description>Hi,&#13;
&#13;
thanks for your answers but my question is about another combination.&#13;
&#13;
At program start i fill an array with all contac…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51264/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51264/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum/read.awp">[WD] Question about HRecNum</source><title>Re: [WD] Question about HRecNum</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51232/read.awp</comments><pubDate>30 Mar 2015 11:45:00 Z</pubDate><description>Hi,&#13;
&#13;
I very rarely use HRecNum.&#13;
&#13;
Piet is correct... the way I do it:&#13;
I have a Table control on the window bound to a DB fil…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51232/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51232/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum/read.awp">[WD] Question about HRecNum</source><title>Re: [WD] Question about HRecNum</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51226/read.awp</comments><pubDate>29 Mar 2015 16:43:00 Z</pubDate><description>Hi Piet,&#13;
&#13;
i don't use it in the end of initialization code of the table, i use it in the end of init-code of the separate cont…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51226/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51226/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum/read.awp">[WD] Question about HRecNum</source><title>Re: [WD] Question about HRecNum</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51225/read.awp</comments><pubDate>29 Mar 2015 14:08:00 Z</pubDate><description>Hi Markus,&#13;
&#13;
The end of initialization code of the table will give you the record number of the last record in the table and th…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51225/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum-51225/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51224-question-about-hrecnum/read.awp">[WD] Question about HRecNum</source><title>Re: [WD] Question about HRecNum</title></item></channel></rss>
