Custom Geographic 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

When geographic data is stored in a database, it is often stored in abbreviated format. Use these functions to expand the abbreviation to its full-text equivalent. Modify the functions to handle data beyond the United States and Canada.

cdExpandRegionAbbreviation Given a region abbreviation and a country, returns the full text of the region; supplied function handles Canada and United States only.

cdExpandRegionAbbreviationCanada Given a Canadian abbreviation like "AB," returns the full text of a phrase like "Alberta."

cdExpandRegionAbbreviationUSA Given a United States state abbreviation like "NY," returns the full text of a phrase like "New York."

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