Four Js Development Tools Forum

Discussions by product => Reporting tools (GRW, GRE) => Topic started by: Gary C. on May 27, 2010, 02:19:58 pm



Title: WordWrap and New Lines
Post by: Gary C. on May 27, 2010, 02:19:58 pm
Hi

Just getting to grips (slowly) with GRW and have was wondering if anyone could help me.

I have a Word Wrap Box on my report that I wish to populate with text passed as part of the report data. The text is itself made up of several lines and I wish to force a newline/carriage return at the end of each line.

The manual says to use  '
' or '
' which I have tried, like this:

LET outline.description = qtln.productdesc clipped, "
", qtln.productcolour clipped, "
", .....

The result is that I actually get the "
" text visible on the report.

Any help would be appreciated.

Thanks

Gary


Title: Re: WordWrap and New Lines
Post by: Alex G. on May 27, 2010, 02:38:13 pm
Hi Gary,
you can use "\n" so that this will insert the desired line breaks:
LET outline.description = qtln.productdesc clipped, "\n", qtln.productcolour clipped, "\n", .....
Regards,
Alex


Title: Re: WordWrap and New Lines
Post by: Gary C. on May 27, 2010, 04:37:15 pm
Hi

You are correct - it does. Though I do not understand what the manual is referring to then.

Thanks anyway

Gary


Title: Re: WordWrap and New Lines
Post by: Alex G. on May 27, 2010, 05:55:45 pm
You are right. The documentation is outdated. This will be fixed. Sorry for the inconvenience.
Regards,
Alex