Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: WordWrap and New Lines  (Read 12507 times)
Gary C.
Posts: 109


« 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
Alex G.
Four Js
Posts: 155


« Reply #1 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
Gary C.
Posts: 109


« Reply #2 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
Alex G.
Four Js
Posts: 155


« Reply #3 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
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines