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

Group based on a formula in Crystal Reports

Status
Not open for further replies.

angel7170

Programmer
Mar 12, 2009
15
US
Hello,

How to create a formula and then Group using it.
The data I have is

2414 - Detroit West
2437 - Columbus Suburban
------------------------
2542 - Eau Claire
2543 - Lexington

I want to group these two based on the first two charaters of the string.
for ex; say I want to group by "24 series", 25 series etc
Please assist.
Thank you so much
 
Create formula using left

eg

@Series

left(IDField, 2)

Then group on this

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top