
Crystal Reports: Large Values
Thanks for the reply!!
Actually, I finally found another way. I couldn't bind my report to a
database (because most of the values were calculated), so I passed multiple
values to a parameter, then in the Crystal Reports I wrote a small snippet
of code (as a formula) to breakup the array and paste it into the report.
Here is the code I used in the Crystal Reports:
shared x as string:
dim i as number:
for i = 1 to count({?Config})
x=x+{?Config}(i) & chr(13):
next
formula=x
However, my original statement still stands...I find Crystal Reports
cumbersome to use.
Quote:
> I found the same problem some time ago while using CR 8.5 and VB6 when I
> tried to pass more than 254 characters to an empty formula I had in my
> report. As you can see, formulas and parameters are limited to 254 chars.
> The way I found to solve that was to create a subreport. The subreport was
> bound to a text file using ADO. Before opening the report from my program,
I
> rewrote the text file with the string I needed to pass to the formula and
> refreshed the datasource and the report. The subreport only consisted of a
> field which got data from the text file itself. CR treated that field as a
> memo field, so it had no limitations.
> > Ok, I've used Crystal Reports for about 10 minutes now and I already
hate
> > it. Too much work to pass a value to a parameter.
> > Anyways, I am forced to use it for this project, but I found out the
hard
> > way that you can only pass 254 characters to a discrete parameter. I
have
> a
> > textbox with about 400 lines I need to do a report on. Anyone have any
> ideas
> > on how I can get that data to the report?
> > I can't use word or any other remoting method, it needs to be a
contained
> > app.
> > Thanks!!