Difference in how declared variables handled in report breaks?
Boaz Bezborodko
boaz at mirrotek.com
Fri Oct 31 12:19:31 PDT 2014
I was doing some processing where I wanted to collect the sum total of a
number at a sub-total break. When doing this with standard global
variables such as aa(10,.0,g) it works fine. Using the line
aa=aa+{field}, at the break 'aa' is holding the correct value. But when
I tried it with a declared variable such as qty(10,.0,g) (using the line
DECLARE qty(10,.0,g)) the value is correct throughout the processing
except that when it gets to the @wbrkn line the value goes blank.
I'm assuming that this is normal behavior and that there is some
brilliant reason why this should be happening so I'm curious as to what
it is.
--
Mirrotek International, LLC
90 Dayton Avenue
Building 1-F
Passaic, NJ 07055
Tel: 973-472-1400 x.112
Fax: 973-472-5170
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
More information about the Filepro-list
mailing list