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

More about calculations

edited November 2001 in General
The same report:
In the footer group and summary bands i have the same structure:

var1 var 2 var3

var1 and var2 are already calculated, now i need to made var3=var1/var2,
only if var2 <> 0. I already have the calcOrder set to 0, 1 and 2
respectively.
In the OnCalc of var3 i have:
if var2.value <> 0 then
var3.value := val1.value/val2.value
else
var3 := 0.

But val3 is always set to cero, even when val1 and val2 are <> 0. What
settings (timing) must have val3 and how can i achieve what i need?
thanks again
--
Guillermo Castaño Acevedo
Gerente de Sistemas - Grupo Millennium Ltda
GuillermoC@GrupoMillennium.com
www.GrupoMillennium.com

Comments

This discussion has been closed.