calculaion of a variable in a group band
Hi,
I have varX and varY in a group band. These are sums of detail items, and
work no problems. However in the same group band I have another, varZ which
calculates varY / varX. However, no matter what I try the result is always
zero. Even if I just set varZ to equal varX it shows zero even though varX
is not.
Could this be related to timings? Any suggestions.
RB6.03
Thanks
Alex
I have varX and varY in a group band. These are sums of detail items, and
work no problems. However in the same group band I have another, varZ which
calculates varY / varX. However, no matter what I try the result is always
zero. Even if I just set varZ to equal varX it shows zero even though varX
is not.
Could this be related to timings? Any suggestions.
RB6.03
Thanks
Alex
This discussion has been closed.
Comments
order the variables so that they calculate in order. If that doesn't help,
then check that the datatype on the variables are correct. If you have a
string variable and assign it a value of 35 (integer) then the result is
always a 0 because variants are used to implement the variable behind the
scenes and it allows you to set the string type variable to a integer value,
but it just won't create output other than a zero when you do this.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com