473,785 Members | 2,882 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crystal Reports .net text clipping problem

Hi, i have in my crystal report viewer .net a multiline field. When i
preview the report, the text in the field is clipped on the right, so some
words are invisible... i'm going mad; i've searched on the crystal decision
site but without success.
Please help me,
thanks
Michele
Nov 20 '05 #1
8 3694
We had an identical issue... yours may be caused by something else, but we
found that this had to do with the printer driver used. Apparently,
Crystal's engine uses some internal string measurement to wrap the words,
then uses the printer driver measurement to display them. Not much fun.

Another fun fact for us was that the difference was not the printer drivers
for the printer *used* to print out the report, but the drivers for the
default printer on that computer.

Good luck!

"michele" <ma********@ogg iweb.com> wrote in message
news:Du******** ***********@twi ster1.libero.it ...
Hi, i have in my crystal report viewer .net a multiline field. When i
preview the report, the text in the field is clipped on the right, so some
words are invisible... i'm going mad; i've searched on the crystal decision site but without success.
Please help me,
thanks
Michele

Nov 20 '05 #2
Bob
Crystal Reports has a couple of issues that may be contributing to your problem:

1. Blob fields are truncated under certain circumstances
2. Crystal is not WYSIWYG

First go for the simplest possible solution and make the field bigger to see if
the text shows up. If it is still missing you're looking at a truncation issue;
try casting the returned data as a different data type (text if its varchar,
varchar if its text) in your query and also take note of the character position
of the truncation. If it's 255 characters and nothing you do will fix it you
need to embed the truncated field into another by dragging and dropping it into
a blank text item. This is the official fix to a known bug in the full-blown
product, I don't know if it will work for the deisgner in .Net but my guess
chances are good. If that fails there is also a Crystal update to all .Net
components that was released some time after VS.Net 2003, you may or may not be
able to obtain it without a license from the Crystal website. If you manage to
manually download these components I think it's just a simple matter of
replacement and registration at the physical point of storage and in the GAC,
use Dependency Walker to help you with registration issues.

Bob

"michele" <ma********@ogg iweb.com> wrote in message
news:Du******** ***********@twi ster1.libero.it ...
Hi, i have in my crystal report viewer .net a multiline field. When i
preview the report, the text in the field is clipped on the right, so some
words are invisible... i'm going mad; i've searched on the crystal decision
site but without success.
Please help me,
thanks
Michele


Nov 20 '05 #3
Ok, now i try, but my problem occurs even with only one line of text:
for example

text "sette a
murare, placca" not showing

|

|
Pulsantiera completa di trasformatore, scheda elettronica, cassette a
murare, placca
1 o 2 tende separatamente.


"Bob" <no*****@nospam .net> ha scritto nel messaggio
news:OG******** ******@TK2MSFTN GP12.phx.gbl...
Crystal Reports has a couple of issues that may be contributing to your problem:
1. Blob fields are truncated under certain circumstances
2. Crystal is not WYSIWYG

First go for the simplest possible solution and make the field bigger to see if the text shows up. If it is still missing you're looking at a truncation issue; try casting the returned data as a different data type (text if its varchar, varchar if its text) in your query and also take note of the character position of the truncation. If it's 255 characters and nothing you do will fix it you need to embed the truncated field into another by dragging and dropping it into a blank text item. This is the official fix to a known bug in the full-blown product, I don't know if it will work for the deisgner in .Net but my guess chances are good. If that fails there is also a Crystal update to all .Net
components that was released some time after VS.Net 2003, you may or may not be able to obtain it without a license from the Crystal website. If you manage to manually download these components I think it's just a simple matter of
replacement and registration at the physical point of storage and in the GAC, use Dependency Walker to help you with registration issues.

Bob

"michele" <ma********@ogg iweb.com> wrote in message
news:Du******** ***********@twi ster1.libero.it ...
Hi, i have in my crystal report viewer .net a multiline field. When i
preview the report, the text in the field is clipped on the right, so some words are invisible... i'm going mad; i've searched on the crystal decision site but without success.
Please help me,
thanks
Michele

Nov 20 '05 #4
....i've tryed it on different computers, but the problem still remains...

"Philip Rieck" <st***@mckraken .com> ha scritto nel messaggio
news:Oj******** ******@tk2msftn gp13.phx.gbl...
We had an identical issue... yours may be caused by something else, but we
found that this had to do with the printer driver used. Apparently,
Crystal's engine uses some internal string measurement to wrap the words,
then uses the printer driver measurement to display them. Not much fun.

Another fun fact for us was that the difference was not the printer drivers for the printer *used* to print out the report, but the drivers for the
default printer on that computer.

Good luck!

"michele" <ma********@ogg iweb.com> wrote in message
news:Du******** ***********@twi ster1.libero.it ...
Hi, i have in my crystal report viewer .net a multiline field. When i
preview the report, the text in the field is clipped on the right, so some words are invisible... i'm going mad; i've searched on the crystal

decision
site but without success.
Please help me,
thanks
Michele


Nov 20 '05 #5
Bob
Hmmm.

Make a new, simplified report to reproduce the issue and take note of when this
happens and when it doesn't. Is it only this field, or do you see the problem
with all fields of that data type? Does it matter where in the report the field
is located? Does it only happen when you have carriage returns in the data? What
does your query look like?

Bob
"michele" <ma********@ogg iweb.com> wrote in message
news:P_******** ************@tw ister2.libero.i t...
Ok, now i try, but my problem occurs even with only one line of text:
for example

text "sette a
murare, placca" not showing

|

|
Pulsantiera completa di trasformatore, scheda elettronica, cassette a
murare, placca
1 o 2 tende separatamente.


Nov 20 '05 #6
Bob
Also - I'm sure you've already done this, but in case you haven't, make sure the
field's 'can grow' property is set to true.

Bob

"michele" <ma********@ogg iweb.com> wrote in message
news:P_******** ************@tw ister2.libero.i t...
Ok, now i try, but my problem occurs even with only one line of text:
for example

text "sette a
murare, placca" not showing

|

|
Pulsantiera completa di trasformatore, scheda elettronica, cassette a
murare, placca
1 o 2 tende separatamente.


Nov 20 '05 #7
Yes! I've tryed to make a simplified report with only the problematic
field.. and it works... so how can i fix it in the complex report?
Thanks
Michele
"Bob" <no*****@nospam .net> ha scritto nel messaggio
news:uJ******** ******@TK2MSFTN GP10.phx.gbl...
Hmmm.

Make a new, simplified report to reproduce the issue and take note of when this happens and when it doesn't. Is it only this field, or do you see the problem with all fields of that data type? Does it matter where in the report the field is located? Does it only happen when you have carriage returns in the data? What does your query look like?

Bob
"michele" <ma********@ogg iweb.com> wrote in message
news:P_******** ************@tw ister2.libero.i t...
Ok, now i try, but my problem occurs even with only one line of text:
for example

text "sette a murare, placca" not showing

|

|
Pulsantiera completa di trasformatore, scheda elettronica, cassette a
murare, placca
1 o 2 tende separatamente.

Nov 20 '05 #8
Bob
If your simple report works yet the complex one does not, try adding to the
simple report until it breaks, or take away pieces of the complex report until
it works. It may take some work, but eventually you'll nail down the cause of
your problem. Let us know how it works out for you.

Bob

"michele" <ma********@ogg iweb.com> wrote in message
news:Ms******** ***********@twi ster1.libero.it ...
Yes! I've tryed to make a simplified report with only the problematic
field.. and it works... so how can i fix it in the complex report?
Thanks
Michele

Nov 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
19184
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal Report at runtime? Example: private void button1_Click(object sender,
3
6917
by: Gheaci Maschl | last post by:
Hi all! I would like to have your opinion about my problem and my proposal how to solve it: Ingredients: - BTriev database - Crystal Reports - maybe MS Access - Liinos6 (small ERP software)
7
5025
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying. I created the websetup and built the MSI, have the bundled version. Copied to webserver and ran Websetup.msi. Said I had to remove old version, which I did, then reran WebSetup.msi and keeps giving me this error. "The installer was interrupted...
3
15039
by: Milan Todorovic | last post by:
Hello, I need help. I have experience in ASP.NET programming, but this is my first dealing with Crystal Reports. I'm trying to make the most basic report purely for testing purposes: connect to the remote SQL DB and create a report on one of the tables. Every time I do it, I get the Logon Failed error (CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed) The internet search shows that this is a common problem,...
1
7759
by: warlord | last post by:
In order to save typing, I've borrowed the text from a post of nearly 12 months ago.....but the problem still exists. I've been banging my head all day with this, so I'm hoping someone has some suggestions for me: I'm trying to either print or export some Crystal Reports in asp.net web application. The reports were made with CR 9.0, get their data from an SQL Server 2000 database.
17
8452
by: Peter Proost | last post by:
Hi Group, I've got an interesting problem, I don't know if this is the right group but I think so because everything I've read about it so far says it's a .net problem. Here's the problem, we're using crystal reports 9 and vb.net and we're using the crystalrepotViewer to show our reports. But every time we open a report the connection to or sql server remains, so if I open 5 forms with the report viewer I've got 5 sleeping connections in...
0
2925
by: Gilberto Avila | last post by:
I'm currently developing a web application with ASP .NET 1.1. I'm using the bundled Crystal Reports in Visual Studio 2003 to create reports for this application. The system specification requires a Gantt chart inside one of these reports, and that's the problem: this version of Crystal Reports doesn't have a Gantt chart option. I know that VS 2005 ships with Crystal Reports 10 version that supports Gantt charts. I'm avoiding the...
0
1766
by: Wayne Deleersnyder | last post by:
I've been looking on the web trying to find a solution to converting a PDF Form from v.1.6(Acrobat 7) to PDF v1.4(Acrobat 5). It's one of those weird situations where one of the applications I'm using requires v.1.4. v.1.6 will mess up the application itself. PDFversion.exe (a conversion utility) doesn't support the 1.6 format and Acrobat 7 doesn't want to do backwards conversion on a PDF Form (at least from what I can see). So... I...
6
6588
by: G. Stoynev | last post by:
I can't seem to be able to prevent a Crystal Reports formula to evaluate an expression when the report contains no records to show. Here's the formula (DateTransferred is a DateTime column): If IsNull({MyReportDataSet.DateTransferred}) Then " " //empty string Else If ({MyReportDataSet.DateTransferred} = CDate("1/1/1900")) Then " " //also pring an empty string - 1/1/1900 means "no date was
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10327
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8973
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.