Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Total fields in each record

Status
Not open for further replies.

danielw

Technical User
Apr 22, 2003
9
NZ
I have a database with fields of weight.steer, weight drive and weight.tandem I would like to be able to total these three fields in each record and display in a new field called total weight.

Thanks,
Dan
 
Create a new formula field with the following expression:

{weight.steer} + {weight drive} + {weight.tandem}


I am assuming that all three are numeric fields. If they are character fields you will have to use the value function:

value({weight.steer}) + value({weight drive}) + value({weight.tandem})




Howard Hammerman,

Crystal Reports training, consulting, books, training material, software, and support. Scheduled training in 8 cities.
howard@hammerman.com
800-783-2269
 

Thanks Howard. That was easy. I was trying to make the same formula but it had to = a field.

Thanks again.

Daniel
 
you are welcome. Howard Hammerman,

Crystal Reports training, consulting, books, training material, software, and support. Scheduled training in 8 cities.
howard@hammerman.com
800-783-2269
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top