Joined: 03 Oct 2010
Location: India
Online Status: Offline
Posts: 1
Topic: Formatting Issues with Crystal report Posted: 03 Oct 2010 at 10:56pm
Hello All,
i am working on crystal reports 9. The report is viewed using a .net Windows application. When the report is viewed in certain machines , it looks fine, but for some other machines there are some formatting issues observed for same report. (Like the space appear reduced between two characters.)
Joined: 06 Oct 2010
Location: United States
Online Status: Offline
Posts: 2
Posted: 06 Oct 2010 at 9:52am
viewing reports in Crystal Reports and viewing reports using just the viewer that comes with .net is a problem. it depends on the printers being used. See below ... long, but hopefully will help.
Types of reports that will have different data
Shared variables in formulas
Reports that use shared variables in formulas will produce differences in
data between Crystal Reports 2008 (designer) and the Crystal Reports Viewer
2008 (viewer).
The differences include:
•
In the viewer subreports do not update the date of the main report until
the subreport is completely finished formatting. In the designer, the date
is updated at every page break.
•
In the viewer, the drill down views start with the formula state in the context
of where you are drilling down. In the designer drill down views start with
an empty formula state
•
In the viewer multiple subreports in the same section interact only after
the first subreport is fully formatted. In the designer this is only true if the
subreports are not broken by a page break
•
In the viewer suppressed subreports which have side effects will be
evaluated. In the designer they are not evaluated if the subreport is in a
hidden or suppressed section and the subreport is linked to the main
report. The designer behavior is inconsistent with the behavior for other
objects with side effects.
Formula side effect differences
In Crystal Reports Viewer 2008, formula side-effects do not propagate beyond
the current cell in a crosstab. In Crystal Reports 2008 side-effects are
propagated, but the behavior is not deterministic as it depends on the order
that pages are viewed.
Print Date versus Data Date
Reports that depend on Print Date, Print Time, or related formulas (such as
Last60Days) as part of their record selection formula and do not have the
PrintDate and Time locked, will display a smaller set of data.
The viewer uses the last saved print date in the report. The smaller data set
occurs only if the data date is different from the last print date.
Crystal Reports Viewer 2008 Release Notes 7
Crystal Reports Viewer 2008 Release Notes
Differences Between the Crystal Reports Viewer and Crystal Reports
Group Header versus Group Footer formatting
Group name fields are consistent in Crystal Reports Viewer no matter whether
they are in the Group Header or Group Footer section or in the Group Tree.
Crystal Reports might have different values in the Group Footer.
Original-order grouping
Reports that use original-order grouping may display the records in a different
order when opened in the viewer.
This behavior occurs if the report data needs to be changed based on external
information (like date or time).
Sorting
In general, sorting may be slightly different because the Crystal Reports
designer uses a word-based sort, but the viewer uses a Unicode sort. Certain
characters, such as hyphens and apostrophes sort differently in the viewer.
Hierarchical grouping and Group Selection formulas
For reports that use Hierarchical grouping, and have a Group Selection
formula that filters out all records, the number that appears in the Group
Header or Group Footer may be different.
Types of reports that will have different layout
Note:
The issues that can cause a report to have different data will often also cause
the reports to have a different layout.
Report objects that are not displayed
Instead of displaying the objects that are listed in the following table, the
viewer replaces the object with a text object that is the same size and contains
the text "<object> not supported". Because this object is displayed in the
size it was in the design view of Crystal Reports, formatting differences might
occur.
8 Crystal Reports Viewer 2008 Release Notes
Crystal Reports Viewer 2008 Release Notes
Differences Between the Crystal Reports Viewer and Crystal Reports
Report object What you will see
A placeholder is displayed and, similarly, the
Map placeholder is used for exporting and printing.
A placeholder is displayed and, similarly, the
placeholder is used for exporting and printing.
OLAP Grid / OLAP
Chart
In general, subreports with saved data display correctly.
There are, however, some exceptions:
•
Linked subreports or subreports in hidden or
conditionally suppressed sections will not display
if they do not have saved data.
•
Linked subreports that depend on the print-time
formula state for the link might have formatting
differences.
•
You cannot drill into on-demand subreports, but
rendering, exporting, and printing are not otherwise
affected.
Subreports
The object is not supported for exporting to PDF
format. Rendering, exporting, and printing might be
affected.
Right-to-left (RTL)
languages
The object is not supported for exporting to PDF
format. Rendering, exporting, and printing might be
affected.
Thai ligatures
When exporting to RTF, images are exported one
Images to a line.
Crystal Reports Viewer 2008 Release Notes 9
Crystal Reports Viewer 2008 Release Notes
Differences Between the Crystal Reports Viewer and Crystal Reports
Font-related differences
•
Fonts in the Crystal Reports Viewer appear to be taller than the same
font in Crystal Reports. This difference leads to line-height differences.
As a result, reports where you have a multi-line text object next to which
you have placed other objects to align them vertically, may not appear
correctly.
•
The difference in line height also leads to sections taking up more vertical
space, which means that some reports are paginated differently.
•
When a report uses a font that is not found on the machine, the viewer
substitutes a font from the machine (if no matching font can be found, the
viewer defaults to Arial). This action may lead to text measurements that
are not the same.
Chart appearance
Charts may appear differently in the viewer. However, the general layout
and overall meaning of the chart will not change. There are a few specific
differences that you might notice:
•
Axis labels that were moved manually are moved to their default positions.
•
2D charts are automatically arranged to create an attractively formatted
chart. This sometimes leads to differences in label settings and frame
size so that labels won't overlap.
•
Smooth-style trend lines will not appear.
Suppress blank subreport
Crystal Reports allocates space to an empty subreport, even though you
have selected the 'Suppress Blank Subreport' option. This behavior causes
sections containing blank sub-reports to grow larger. The behavior does not
occur in the Crystal Reports Viewer.
Currency symbol differences
Currency symbol may appear differently in position and appearance in Crystal
Reports for Eclipse and Crystal Reports Viewer compared to Crystal Reports
2008.
For example, when viewing reports containing currencies in Russian locale,
the Russian currency symbol is py6#### instead of ####p.
10 Crystal Reports Viewer 2008 Release Notes
Crystal Reports Viewer 2008 Release Notes
Differences Between the Crystal Reports Viewer and Crystal Reports
Printing limitations
The following table summarizes the major printing limitations that you might
encounter in the Crystal Reports Viewer.
Printing
Crystal Reports
Viewer
— what you
view is what
the report
was created
with
Crystal Reports
— what
you view is
what you
print
Printer specified
on the report
author's
machine?
Page settings
set in report?
Use local printer
setting
8.5 x 11 rendered
using
no printer setting
8.5 x 11 rendered
using
no printer setting
N N
Use local printer
setting
Use the default
printer
settings of the
report consumer
machine
Use the default
printer
settings of the
report consumer
machine
N Y
Use local printer
setting
Use custom
page size; create
best match
between new
printer settings
and original
printer
Custom page
size with local
printer configuration
Y Y
Note:
If you open a report in which the paper size selected by the report designer
is not available, the Crystal Reports Viewer will display the report in its original
paper size. If you print the report from the viewer, the output is reduced to
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum