Custom Formatting Functions

book list add book to my bookshelf create a bookmark purchase this book online

mastering crystal reports 9
Appendix D - Crystal Reports Custom Functions
Mastering Crystal Reports 9
by Cate McCoy and Gord Maric
Sybex 2003

Crystal provides an enormous number of built-in formatting options for dates, times, numbers, and strings. Sometimes, though, you just need to do your own thing! The custom formatting functions in the repository can help you do tasks like format date values, currency values, and string values in specialized ways:

cdFormatCurrencyUsingScaling Given a currency value, a decimal places value, a thousands symbol, and a millions symbol, returns a text string that represents the currency using the symbols.

cdFormatDateRange Given a date range, converts to a text string and returns a formatted string that includes phrases like "less than."

cdFormatDateRangeArray Given a date range, returns a formatted list of text dates separated by carriage return linefeeds (new lines).

cdFormatNumberRange Given a range of numbers, converts to a text string and returns a formatted string that includes phrases like "less than."

cdFormatNumberRangeArray Given a range of numbers, converts to a text string and returns a list of text numbers separated by carriage return linefeeds (new lines).

cdFormatNumberUsingScaling Given a number value, a decimal places value, a thousands symbol, and a millions symbol, returns a text string that represents the number using the symbols.

cdFormatStringRange Given a range of string data, returns a formatted string that includes phrases like "less than."

cdFormatStringRangeArray Given a range of strings, returns a list of text separated by carriage return linefeeds (new lines).

cdFormatTimeInterval Given a numeric time interval, a base unit string, a rounding string, a days symbol string, an hours symbol string, and a minutes symbol string, returns a string that formats the time interval using the input parameters.

Use of content on this site is expressly subject to the restrictions set forth in the Membership Agreement
 
Conello © 2000-2003     Feedback


Mastering Crystal Reports 9
Mastering Crystal Reports 9
ISBN: 0782141730
EAN: 2147483647
Year: 2005
Pages: 217

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net