<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>21 Dec 2015 15:24:00 Z</lastBuildDate><pubDate>20 Dec 2015 20:11:00 Z</pubDate><description>Hi,&#13;
&#13;
I have a table (filled by programming with tableaddline) with two breaks on it and let calculate totals and subtotals.&#13;
&#13;
So far this works, but the calculation seemes to be done not before the corresponding part of the table is displayed.&#13;
&#13;
So if I Loop through the table to do some more calculation using the automatic results of the totals, most times the result is false. If i do the calculation while the corresponding part of the table is visible, then the result is ok.&#13;
&#13;
Actually if you scroll through the table with the srollbar, so that each entry is seen at least once, and then do the additional calculations, all is ok.&#13;
&#13;
Putting the code in the Display of break Event does not help, sometimes wrong, sometimes good.&#13;
&#13;
Any ideas out there?&#13;
&#13;
Erik</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55565-wd19-table-break-calculation-problem/read.awp</link><title>[WD19] Table break calculation problem</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/55565-wd19-table-break-calculation-problem-solved-far-55581/read.awp</comments><pubDate>21 Dec 2015 15:24:00 Z</pubDate><description>Hi all,&#13;
&#13;
not what could be wished, but works so far:&#13;
&#13;
At least the calculation must be done in each 'Display break' process …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55565-wd19-table-break-calculation-problem-solved-far-55581/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55565-wd19-table-break-calculation-problem-solved-far-55581/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55565-wd19-table-break-calculation-problem/read.awp">[WD19] Table break calculation problem</source><title>Re: [WD19] Table break calculation problem (SOLVED so far)</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55565-wd19-table-break-calculation-problem-55577/read.awp</comments><pubDate>21 Dec 2015 11:24:00 Z</pubDate><description>Hi Ericus,&#13;
&#13;
An "offline" calculation can look like this:&#13;
nRow=1 WHILE nRow &lt;= Table..Occurrence // Subscript of the current b…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55565-wd19-table-break-calculation-problem-55577/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55565-wd19-table-break-calculation-problem-55577/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55565-wd19-table-break-calculation-problem/read.awp">[WD19] Table break calculation problem</source><title>Re: [WD19] Table break calculation problem</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55565-wd19-table-break-calculation-problem-55572/read.awp</comments><pubDate>20 Dec 2015 23:53:00 Z</pubDate><description>I had a similar problem where I also had to run a secondary query for calculations. So I wrote an update procedure called after …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55565-wd19-table-break-calculation-problem-55572/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55565-wd19-table-break-calculation-problem-55572/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55565-wd19-table-break-calculation-problem/read.awp">[WD19] Table break calculation problem</source><title>Re: [WD19] Table break calculation problem</title></item></channel></rss>
