Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Display count in title band

edited February 2009 in General
Hi there,

in the onCalc event of a tppVariable I use the following code to count
rows with a specfic value:

if DBPipeline2['ja'] > 0 then varCountJa.Value := varCountJa.Value+1;

if DBPipeline2['nein'] > 0 then varCountNein.Value := varCountNein.Value+1;

if DBPipeline2['enthaltung'] > 0 then varCountEnth.Value :=
varCountEnth.Value+1;

If the vars 'varCountJa','varCountNein' and 'varCountEnth' are placed in
the summary band, the values are correct.
But if the vars are placed in the title band, the values are wrong.


Hope you can help me.
Thx very much,
greets ben

Comments

This discussion has been closed.