Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Report 7.0 field formatting issue

Status
Not open for further replies.

cjohnson6

Technical User
Jul 19, 2000
21
US
Can anyone assist me?<br>I have a report created but on certain fields I need to have the excess space within those fields to be suppressed. <br>How can this be accomplished?<br>I've tried to use the Section Expert and formatting the individual fields but can't seem to get the results I need. Should I be using formulas to do this and if so, what is the basic syntax for doing so?<br>Ex. - TrimStr(?)<br><br>Any direction anyone can provide would<br>be appreciated.<br><br>Thanks in advance,<br>Claude <br><br>
 
You can use the formula:<br><br>Trim(str) to clear all the spaces from a string.&nbsp;&nbsp;If you are trying to clear the spaces from the beginning or end of the string you can use TrimLeft(str) or TrimRight(str) or both if you wish to keep spaces in the middle.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top