The Repository comes out every 6 - 10
weeks. You'll find Crystal tools tips and tricks, news about Crystal
Reports and Crystal Reports Server, BusinessObjects Crystal Decisions.
Check our Promotions section for upgrades, implementations and training.
This month's highlights:
- I Didn't
Know... - your Crystal
knowledge resource. Look for tips and tricks from Crystal Reports
Professional Results.
- The Ablaze Group - Crystal
Partner Participation - The Ablaze Group has partnered with Business Objects. See our
News section.
- Business Objects Insight
Americas 2007 - Where?
Orlando, Florida. When? October 15 - 18. Who's going? The Ablaze Group -
see you there! Read more in our News section.
- Crystal Reports...Crystal
Decisions...Crystal Xcelsius...Crystal Reports Server - Call on The Ablaze Group for sales
and support for Crystal Reports, BusinessObjects Crystal Decisions
Standard and BusinessObjects Crystal Decisions Professional, Crystal
Xcelsius, and Crystal Reports Server. See our Promotions section.
Questions and suggestions? email
us - we look forward to hearing from you.
Visit our newsletter archive
for past
issues.
... the way to Make a
Formula Multiline. The freeform design nature of Crystal Reports lends
itself to much more innovative reporting than "one record per line"
green-bar style reports that used to come off the mainframe. Crystal
Reports is perfectly suited for form letters and other more "vertically
oriented" reports.
This type of reporting often requires that database values or formulas
be stacked vertically on top of each other. If for example, you want to
display a name, address, and city-state-zip combination on three lines,
you can place the three fields one below the other. However, you may wish
to create a single formula that actually returns a multiline result. You
may then simply stretch the formula vertically to accommodate a fixed
number of vertical lines, or format the formula with the Can Grow option
from the Format Editor to show a variable number of vertical lines.
Bike-A-Holics Anonymous
7429 Arbutus Boulevard
Pleasantville, OH 43005
- Create a new formula to contain the multiline string values.
- Use the Chr function to add a specific carriage return character to
the formula where you'd like to start a new line. The Chr function
accepts one argument: the ASCII character value to return to the
formula. The ASCII value for a carriage return is 13.
- For example, a formula that adds a carriage return between customer
name, address 1, and city-state-zip might look like this:
{Customer.Cust Name} & Chr(13)
&
{Customer.Addr1} & Chr(13) &
{Customer.City} &
", " &
{Customer.Region} & " " &
{Customer.Postal
Code}
NOTE In Crystal syntax, you may press the
ENTER key between operators and other portions of the formula.
While the formula will appear on multiple lines in the Formula Editor,
carriage returns will not be added to the formula. You must
explicitly add them with Chr(13).
- Manually resize the formula vertically to accommodate the number of
lines it will return. Or, format the formula with the Can Grow option
from the Format Editor's Common tab to allow the formula to grow
vertically automatically.
Note: In later versions of
Crystal Reports, Chr() has been replaced by ChrW() to support the full
Unicode character set. It works the same way—supply the ASCII code that
you wish to be included in the formula.
... how to Base a
Formula on a Parameter Field. Crystal Reports
parameter fields allow the report to be customized every time is it run. A
parameter field is a value that the report viewer can supply every
time the report is refreshed. The value that the report viewer supplies
can then be used in virtually every part of the report, including record
selection, conditional formatting, and formulas.
Here's how to base a formula on a parameter field:
- Create the parameter field to gather the desired value or values
when the report is refreshed.
- Ensure that the parameter field gathers the correct data type for
the formula you'll be using with it. For example, define a parameter
field as a number if you'll be using it in a numeric formula, a string
for string concatenation, or a date for a date-related formula.
- Create or modify the formula that will make use of the parameter
field.
- In the Field tree of the Formula Editor, scroll down to the bottom
of the Report Fields list. You'll notice all parameter fields available
for use in the formula (parameter fields will start with a ? character).
- Double-click the desired parameter field in the list. It will be
added to the formula text box as a database field would be.
- For Example, you may use a parameter field that prompts the report
viewer for a sales tax rate in a formula similar to this:
{Orders.Order Amt} + {Orders.Order
Amt} *
{?Sales Tax Rate} / 100
- Check the formula for errors, then save the formula.
Tips and
tricks are brought to you by Crystal
Reports Professional Results and you, our readers. You can win a
copy of Crystal Reports Professional Results or Crystal Reports:
The Complete Reference and see YOUR name here. How? Just email your
favorite Crystal tip, trick or technique. If it's selected we'll include
it and your name in the next release of The Repository and we'll send you
a copy of either Crystal Reports Professional Results or Crystal
Reports: The Complete Reference.
email
your favorite Crystal tip, trick or technique.
The
Ablaze Group - Crystal Partner Participation
Business
Objects announces its new Crystal Partner Program, and The Ablaze Group
is a partner! Is your organization considering Crystal Reports Server,
BusinessObjects Crystal Decisions Standard, BusinessObjects Crystal
Decisions Professional, and Crystal Reports? Call The Ablaze Group for
product demos, sales and support.
Business Objects Insight
Americas 07
Orlando, Florida, October 15 - 18. Insight
Americas 07 - a great way to network, learn, and have fun.
Want to meet in Orlando? OK! - email
us to set up a day and time!

Ablaze Group - New Crystal Partner Program - Sales & Support For
- Crystal Reports
- Crystal Reports Server
- BusinessObjects Crystal Decisions Standard
- BusinessObjects Crystal Decisions Professional
- Crystal Xcelsius
Call 800 773 3472 or email
for pricing and details.
Monthly Online Learning
Log On...Learn...LIVE!
2007 Q4
Schedule
- Exploring Crystal Xcelsius - October
- Dynamic Cascading Parameter Pick Lists - November
- Crystal Decisions Overview - extra free session, November or
December
- Special session to be announced! - December
Call
800 773 3472 for details and to enroll.
Training - Onsite and Online Look at our course
outlines.
Consulting - Buy It By the Block!
Onsite and Remote
consulting packages.
Call 800 773 3472 or email
for training and consulting information.