Solved

Crystal Reports - formula to wrap text after 10 characters.

Posted on 2012-03-20
9
670 Views
Last Modified: 2012-04-19
I need create a formula the will allow me to control when to wrap text. I'm looking for a formula that I can put in the 'Can Grow' section to determine this. I cannot use the the text sixe to limit the characters.
0
Comment
Question by:jessieBoo
  • 3
  • 2
  • 2
9 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 37743490
I think you will have to explain in more detail what you are trying to do.

You can use a code loop to add a Chr(10)  -new line-  every 10 characters .
Is that what you want?
0
 

Author Comment

by:jessieBoo
ID: 37743533
No I want to be able to set the number of characters when a wrap of text will occur. Like after every 10 characters wrap text.
0
 
LVL 77

Expert Comment

by:peter57r
ID: 37743553
I don't see the difference between 'wrap every 10 characters' and 'newline every 10 characters'?
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:jessieBoo
ID: 37743574
What I'm trying to do is where you set 'Can Grow' there is a formula button.

I need to know how to set the number maximum number of lines in a formula based on the size of the string in the text box.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 37743626
You can't as best I can tell control the numer of lines from that formula.  It requires the result to be a boolean to indicate whether the field can grow or not.

Why do you want to control it?
If set to 0 it will grow as needed.

mlmcc
0
 

Author Comment

by:jessieBoo
ID: 37743645
complicated to explain here why. Just need to do it.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 300 total points
ID: 37743691
I don't think it is possible.  I don't know of any way to access that value from a formula.

Are you overwriting something below?

Is the growth causing an unwanted page break?

mlmcc
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question