473,221 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,221 software developers and data experts.

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 3668
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********@oggiweb.com> wrote in message
news:Du*******************@twister1.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********@oggiweb.com> wrote in message
news:Du*******************@twister1.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**************@TK2MSFTNGP12.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********@oggiweb.com> wrote in message
news:Du*******************@twister1.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**************@tk2msftngp13.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********@oggiweb.com> wrote in message
news:Du*******************@twister1.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********@oggiweb.com> wrote in message
news:P_********************@twister2.libero.it...
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********@oggiweb.com> wrote in message
news:P_********************@twister2.libero.it...
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**************@TK2MSFTNGP10.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********@oggiweb.com> wrote in message
news:P_********************@twister2.libero.it...
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********@oggiweb.com> wrote in message
news:Ms*******************@twister1.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
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...
3
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
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....
3
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...
1
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...
17
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...
0
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...
0
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...
6
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): ...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.