<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>7 Aug 2015 15:30:17 Z</lastBuildDate><pubDate>4 Aug 2015 15:23:59 Z</pubDate><description>I have a summary table in which I would like to reset some fields to 0 but the following code doesn't seem to work.&#13;
HExecuteQuery(QRY_GetBurialTypes)&#13;
&#13;
FOR EACH QRY_GetBurialTypes.Burial_Type&#13;
	Sum_Rpt_BurByYear.Male = 0&#13;
	Sum_Rpt_BurByYear.Female = 0&#13;
	Sum_Rpt_BurByYear.Child = 0&#13;
	HReadSeekFirst(Sum_Rpt_BurByYear, Burial_Type, QRY_GetBurialTypes.Burial_Type)&#13;
	IF HFound() = True THEN&#13;
		HModify(Sum_Rpt_BurByYear)&#13;
	ELSE&#13;
		Sum_Rpt_BurByYear.Burial_Type = QRY_GetBurialTypes.Burial_Type&#13;
		HAdd(Sum_Rpt_BurByYear)&#13;
	END&#13;
END&#13;
What am I doing wrong?&#13;
Thanks Garry</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53406-simple-newbie-question/read.awp</link><title>simple newbie question</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>gallen.dbmc</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53406-simple-newbie-question-53467/read.awp</comments><pubDate>7 Aug 2015 15:30:17 Z</pubDate><description>Thanks Fabrice. That solves the problem of zeroing out the fields but it seems I'm not out of the woods yet.&#13;
Now I have to fill…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53406-simple-newbie-question-53467/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53406-simple-newbie-question-53467/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53406-simple-newbie-question/read.awp">simple newbie question</source><title>Re: simple newbie question</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53406-simple-newbie-question-53407/read.awp</comments><pubDate>4 Aug 2015 15:49:55 Z</pubDate><description>Hi Gary,&#13;
&#13;
you are setting the fields to zero, THEN reading the record (hence &#13;
setting the values from the disk in the fields)…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53406-simple-newbie-question-53407/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53406-simple-newbie-question-53407/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53406-simple-newbie-question/read.awp">simple newbie question</source><title>Re: simple newbie question</title></item></channel></rss>
