home     about    news     books     forums     contact us
Add RSS Feeds to your site
 Front Page 
 Report Design
 Report Integration
 Sample Reports
 Sample Code
 Tips, Tricks & Techniques
 News & Reviews
 Books
 Tutorials
 From the Editor
 Crystal Reports.NET 2005


 Crystal Developer Newsletter



Subscribe
Unsubscribe
 From the Editor
New look for Crystal Developers Journal

 Sponsored By:



 



 

 
 
 
Special Fields in Crystal Reports 10

By David McAmis
Sat, 10 Jan 2004
  

Email this article
Printer friendly page

To start, what is a Special Field? A Special Field is a field that is generated in Crystal Reports that can be used for a specific task. For example, previous versions of Crystal Reports included Special Fields for placing the page number on your report or for placing the print date on your report.

With the introduction of Crystal Reports 10, these Special Fields now include the ability to much more, starting with cross-tabs. Crystal Reports developers have always had a love-hate relationship with cross-tabs. On one hand, they are a great way to display summarized data. On the other hand, they are hard to format and manipulate.

Over the past few versions of Crystal Reports, the cross-tab functionality has been improved to the point where most developers will consider using them in their report, with one exception-- large cross-tabs could spill across to multiple pages, which could not be numbered.

This often left end-users at a quandry when they printed a report and the first page was numbered "1" and then four pages later the fifth page was numbered "2".

The introduction of a new Special Field called "Horizontal Page Number" within Crystal Reports 10 alleviates this problem. You can place this Special Field on your report underneath the cross-tab and it will reflect the correct page numbering, regardless of how many pages the cross-tab may spill over to.

Another introduction to the Special Fields within Crystal Reports are "Current CE User ID" and "Current CE User Name", which can be used to display the current ID and User if you are viewing a report from within Crystal Enterprise. Previously report developers used all sorts of tricks and parameters to try and get the current user name to print on the report. This is a much neater solution and was long overdue.

If you would like to insert one of these Special Fields on to your report, simply select View > Field Explorer and expand the Special Fields node to see a complete list of new and old fields that are available for use.


Applies to: Crystal Reports 10

David McAmis (editor@crystaldevelopersjournal.com) is the editor of Crystal Developers Journal. When not editing CDJ, he works as an enterprise architect and lead developer for a Crystal Decisions Enterprise Partner based in Sydney, Australia.


© Copyright 2006 by Crystal Developers Journal

Top of Page


  

  
Latest Headlines
 Report Design
Improving Performance of Dynamic Cascading Parameters
Dynamic Cascading Parameters in Crystal Reports XI
Creating Accessible Reports
 Report Integration
Creating nested Xcelsius Dashboards
Quick and Easy Links to Reports, Dashboards and more
Getting Started with Crystal Reports XI R2 Development
 Sample Reports
Sample Report: Simulated Cross-Tab
Sample Report: Specified Grouping
Sample Report: Formula Samples
 Sample Code
Sample Applications for C#
Passing Parameters with VS.NET and CE
Sample Code: Crystal Enterprise and JSP
 Tips, Tricks & Techniques
Tip: Set your default formula language in Crystal Reports XI R2
Tip: Using Summary Information in Crystal Reports
Tip: Inserting a User Name on Reports
 News & Reviews
Business Objects adds "Vision" to Crystal Product Family
Crystal Reports for Eclipse Available
Business Objects acquires Infomersion
 Books
Crystal Reports XI for Developers
Professional Crystal Reports in Visual Studio.NET
Second Edition
CRCP Crystal Reports Certified Professional All-In-One Exam Guide
 Tutorials
Tutorial: Creating Reports from Salesforce.com Data
Tutorial: Creating Interactive Dashboards with Crystal Xcelsius
Tutorial: Working with Dynamic Parameter Fields
 From the Editor
Crystal Reports for Eclipse makes it's Rational Debut
Recap: Insight Americas 2006 - Day 3
Recap: Insight Americas 2006 - Day 2
 Crystal Reports.NET 2005
Upgrading to Crystal Reports in Visual Studio.NET 2005
Getting started with Crystal Reports.NET 2005
Reviewers Guide for Crystal Reports in Visual Studio.NET 2005

 

 
Copyright© 200
6 | Crystal Developers Journal is an independent publication. It is not owned or controlled by Business Objects. Crystal Developers Journal is the trademark or registered trademark of CXM Media. Crystal Reports, Crystal Analysis, Crystal Enterprise, and Crystal Decisions are the trademarks or registered trademarks of Business Objects, Inc. All other trademarks referenced are the property of their respective owners.