Link to home
Start Free TrialLog in
Avatar of smchan
smchan

asked on

Field Object String Length

Dear all,

I have create a parameter field in string data type under field object. I know that the maximum string length of the string data field is 255 characters. However, I would like to pass a string from the vb program to the data field with more than 255 characters and display on the crystal report. How can I do it?

Many Thanks
Avatar of Mike McCracken
Mike McCracken

Assuming you are using CR8.5 or before, you can't except by breaking it into pieces and using several formulas or textboxes for the field.

mlmcc
Avatar of smchan

ASKER

Thanks mlmcc,

Would you mind give me detail description on using several formulas or textboxes, since I am a greenhand on using crystal report.

ksmchan

Remarks: I am using Crystal Report 8.5
Avatar of smchan

ASKER

I have try to create a formula and concatenate the 2 parameters passing from the vb program and display the result on the report.

For example:
{?test1} + {?test2}

However the crystal report viewer returns an message "A string can be at most 254 character long".
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of smchan

ASKER

Thanks mlmcc,

How can I insert the fields into the textbox ?
Avatar of smchan

ASKER

I think I can manage to do it.
Thanks mlmcc
Glad I could help

mlmcc