G
Guest
I am having trouble with a query field (field 1) that is calculated using
other fields (field 2 & field 3) in the query. The problem is that the other
fields (field 2 & field 3) are the returns from a function. It looks like
when field 1 is calculated, it first recalculates the values for field 2 and
field 3. The problem I have is that the functions that generate field 2 and
field 3 utilize static variables as counters (sort of), and, therefore,
return different values when recalculated. The only thing I can think of is
create yet another function or two to store the values from field 2 and field
prior to calculating field 1. Does anyone out there know of an alternative?
Thanks,
Keith
other fields (field 2 & field 3) in the query. The problem is that the other
fields (field 2 & field 3) are the returns from a function. It looks like
when field 1 is calculated, it first recalculates the values for field 2 and
field 3. The problem I have is that the functions that generate field 2 and
field 3 utilize static variables as counters (sort of), and, therefore,
return different values when recalculated. The only thing I can think of is
create yet another function or two to store the values from field 2 and field
prior to calculating field 1. Does anyone out there know of an alternative?
Thanks,
Keith