Crystal Reports for Visual Studio 2003 and text cut/truncation in fields

June 23, 2008 at 1:07 pm Leave a comment

Here is a problem: Crystal Reports for VS2003 by default truncates fields using word truncation strategy so if field has text “ABCD EFGHI” and only “ABCD EF” fits then “ABCD” will be displayed. Also we don’t need wrapping to next line.

So the solution is: replace common spaces with non-breakable ones.

string s = ”ABCD EFGHI”;

string result = s.Replace(” “, (char) 0x00A0);

Entry filed under: Uncategorized. Tags: .

App_Data, App_Code and other App_* folder protection magic osCommerce 2.2 RC2 Windows (Win32) and mail 501 5.5.4 Invalid Address

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

June 2008
M T W T F S S
« Apr   Oct »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Most Recent Posts


Follow

Get every new post delivered to your Inbox.