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

Field Separation

Status
Not open for further replies.

CNeeds

Programmer
Mar 24, 2004
111
US
I have a field with multi-values into Crystal V9. I want it to appear a multiple line field. I have a couple that already fields doing this like I want just fine. But this one field isn't doing it and I cannot figure out why.

01;02;03

I want:
01
02
03

Any suggestion why this field is giving trouble...Any way to manually force the format into fields.

Thanks!!!
 
so is the field value literally the string "01;02;03"? If so what is the maximum number of values in the field?

Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
 
Try a formula like this:

Replace({YourField},";",chr(13));

Then place the formula field on the report, and check the 'Can Grow' option.

-dave
 
You could also use:

split({table.field},";")[1]

Create two other formulas by changing the "1" to "2" or "3" to return the other values. You could then use these values independently of each other if needed.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top