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!

2 Columns 1 Field

Status
Not open for further replies.

strom99

MIS
Nov 28, 2000
126
US
Hi

I have a field BILL_UNIT and it contains either GAL or LBS as values. I need to split this column up into 2 different columns, one that would display GAL for each product that is associated by GAL and one for LBS and total each. How would I go about this.

-Thanks-

 
If those are the only values possible int his field then you can group on this field which will give you two groups: one for GALS and one for LBS. If other values are possible then create a formula to select only GALS and LBS and grup them.
 
If you want two columns, see my FAQ on conditonal columns and conditional totals. You would do a formula for each value, and each formula would then be a column. You could subtotal and grand total these formula columns if you needed to. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top