Crystal Reports Online Training

Learn Online, Anytime, Anywhere

Step-by-step online tutorials.

2.12 Printing Other Objects

The Chart Object

The Chart object lets you add a chart to your report. There are a variety of options to choose from so that you can customize it however you need. There is so much to cover with this object that it was given a separate chapter. See Chapter 12 for more information.

The OLE Object

The OLE object lets you embed objects inside of your report. Some examples are embedding Word documents or Excel spreadsheets.

The Special Field Object

The special field object is used for printing report-related information. For example, it can print the current page number or the total number of pages. Since there isn’t a way for you to calculate this information yourself, this field was created as a catch-all for all the miscellaneous types of report information that you need. Table 2-4 lists the available fields and what they mean. These fields are treated the same as a database field object. They can be added to the report by themselves, or included in a textbox object. They also have all the same formatting options that were described in the Formatting Strings section.

Table 2-4. Special fields described.

Special Field Description
Data Date The date when the report was last refreshed.
Data Time The time when the report was last refreshed.
File Author The file author that is stored with the report.
File Creation Date The date when the report was created.
File Path and Name The report’s file name.
Group Number The current group number.
Group Selection The group selection formula.
Modification Date The date the report was last modified.
Modification Time The time the report was last modified.
Page N of M Prints “Page X of Y”.
Page Number The current page number.
Print Date The date the report was printed.
Print Time The time the report was printed.
Record Number The current record number.
Record Selection The record selection formula.
Report Comments The report comments that are stored with the report.
Report Title The report title.
Total Page Count The total number of pages.