gtjr92
Programmer
- May 26, 2004
- 96
Ok I have a report that counts the number of records in a
field (the report does much more than just this trying to
keep things in perspective here) once those records are
counted I then want to get the total value of those items
by adding them up based on data from another field in the
same table. This much I can get to work I set a sum
formula to do that. I want also to only get the sum for
those items in another field where the field is not equel
to "S" When I try the below formula I get "the remaining
text does not appear to be part of the formula, or if i
change the parentheses around some it tells me I need a (
somewhere. Here is the formula I am trying. I can't
change the main query to get this data because that will
change other values in my report that are based on these
fields too.
Sum ({WOEQUIP.WECHAR} -{WOEQUIP.WECHAR}) (Where ({WOEQUIP.WEITYP} Not S))
field (the report does much more than just this trying to
keep things in perspective here) once those records are
counted I then want to get the total value of those items
by adding them up based on data from another field in the
same table. This much I can get to work I set a sum
formula to do that. I want also to only get the sum for
those items in another field where the field is not equel
to "S" When I try the below formula I get "the remaining
text does not appear to be part of the formula, or if i
change the parentheses around some it tells me I need a (
somewhere. Here is the formula I am trying. I can't
change the main query to get this data because that will
change other values in my report that are based on these
fields too.
Sum ({WOEQUIP.WECHAR} -{WOEQUIP.WECHAR}) (Where ({WOEQUIP.WEITYP} Not S))