Normal Topic Line wrapping in a report's static text (Read 495 times)
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Line wrapping in a report's static text
Sep 13th, 2007 at 9:41pm
Print Post Print Post  
I have some column headers in my reports which I'd like to wrap to multiple lines. I tried F6 and put in carriage returns, but that didn't seem to work.  What's the trick to this?
  

**
Captain Infinity
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Line wrapping in a report's static text
Reply #1 - Sep 13th, 2007 at 10:02pm
Print Post Print Post  
Remember that Reports are using HTML code.
Try using HTML <br> for a line break:

Try a variation of this:
Code
Select All
Header = Miara Header Line 1  + "<br>" + Header Line 2 + "<br>" + Header Line 3. 





  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: Line wrapping in a report's static text
Reply #2 - Sep 14th, 2007 at 1:24pm
Print Post Print Post  
Thanks Bob!  I also found that setting the column's width to a small figure forces the display to wrap as specified with the carriage returns specified in the F6 editor, with the adjusted size equaling the widest value contained in the column.  I normally don't like to specify column widths because Sesame does a nice job of formatting the output, but in this case it works well.
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Line wrapping in a report's static text
Reply #3 - Sep 14th, 2007 at 3:28pm
Print Post Print Post  
Bob_Hansen wrote on Sep 13th, 2007 at 10:02pm:
Remember that Reports are using HTML code.
Try using HTML <br> for a line break:

Try a variation of this:
Code
Select All
Header = Miara Header Line 1  + "<br>" + Header Line 2 + "<br>" + Header Line 3. 




Hello Bob,

In 2.0 you will want to use @Newline() which will work with the Print Only reports and not just the HTML reports.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Line wrapping in a report's static text
Reply #4 - Sep 14th, 2007 at 5:51pm
Print Post Print Post  
Thanks Ray!

Every day more and more is learned.
Keep sending those helpful hints.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged