Print Page | Close Window

field can grow horizontally/ single line formula

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=19502
Printed Date: 02 May 2024 at 9:37pm


Topic: field can grow horizontally/ single line formula
Posted By: ridhwaans
Subject: field can grow horizontally/ single line formula
Date Posted: 06 May 2013 at 2:58am
The can grow option adjusted for 1 or 0 line(s) only makes the object field grow vertically (like a word wrap) or not grow horizontally at all, nor does tight horizontal. The field does have borders on each side (boxed in), there doesnt seem to be a size and position X2 property unlike crystal report XI

I've looked at
https://scn.sap.com/thread/2086920
http://scn.sap.com/thread/2074365

but, for which format object property is there a formula to grow horizontally using a select case variable width size?




Replies:
Posted By: lockwelle
Date Posted: 06 May 2013 at 4:51am
if you have cr xi or later you can put a formula in the x-2 for 'Size and Width'. The things to remember are the sizes are in twips, which have 1440 to the inch, and the sizes are relative/position are relative to where they were designed. The other caveat, is that the length of the string is meaningless, since the font is probably a porportional font, and CR does not give any facility to determine just how long the line will be DISPLAYED, so figuring out how wide to make the report object is difficult.

hope this helps, and have fun



Print Page | Close Window