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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grouping by Partial Item Number

Status
Not open for further replies.

lauriebizz

Technical User
Sep 19, 2005
53
US
Hello,
I'm using Crystal 9 with SQL. I have a list of items {item.item} that I would like to group by only the 1st 8 didgts. Expected output is:

C1550316 (group)
C1550316-CT1 (detail)
C1550316-CT2
C1550316-CT3

Thanks-
Laurie
 
Create a formula field with left({your.field}, 8). Use this to group.

[yinyang] Madawc Williams (East Anglia, UK) [yinyang]
 
Thanks Madawc,
Not quite the results I'm looking for, Here's the results:

C15500316
C15500316-CT1

C15500316
C15500316-CT2

C15500316
C15500316-CT3

Any other suggestions?
Thanks-
Laurie
 
Did you insert a group on Madawc's formula or did you just place the formula in the group header? You must insert a group on it.

Otherwise please explain what your other groups are.

-LB
 
Perfect... thanks! I missed the formula field.
Thanks!
Laurie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top