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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CRViewer Preview different from Crystal Reports Preview

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
I have a Delphi 5 application with a CRViewer component used to display Crystal Reports in. In the preview window I am seeing some differences between this preview and that as seen through Crystal Reports itself. By this I mean that the preview as seen through Crystal Reports is exactly the same as seen on the resultant report as printed on paper but the previewed report in the CRViewer component in my application looks slightly different. The long report objects (formulas resulting in long strings) fill the width of the allocated areas in the Crystal Report preview pane (the width of the objects have been set to almost fill a box to be printed in) whereas the same objects as seen in the CRViewer preview appear to be shorter. The same length of string is seen (that is the string is truncated at the point where it would fill its width on paper) but is not taking up so much room on the preview of the report. I have tried this on a couple of machines at differing screen resolutions and have seen the same effect on both.
Is this expected ?
Is there any way I can get the CRViewer report preview to look exactly the same as that as seen through the Crystal Reports Designer itself (ideally the user should see the report as it will look on the page)?
Thanks in advance.
Steve.
 
I've experienced the same dissonance between the CRViewer and the designer, as well as various printer drivers. The problem becomes more noticable with long text strings, but I have noticed it with date and numeric field types as well.
I presume it is a WYSIWYG failure - but have not found it severe enough to be anything other than an minor irritation.
I set my default printer driver to a printer driver that the users may be expected to be using - I suspect that may help, but it is not always a solution that is available. Malcolm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top