Troubleshooting


Adding a Custom Function

I cannot add a custom function directly into the Central Repository.

Custom functions cannot be directly added into the Central Repository. When you add a custom function to the Central Repository for other report developers to use, you must first create it locally as a Report Custom function and only then can it be added to the Central Repository. With version XI (and 10) of the Enterprise Suite of products, you must also be licensed for either BusinessObjects Enterprise or Crystal Reports Server to leverage a Central Repository.

Converting a Number to a String With No Decimal Places

When trying to convert an existing database numeric field to a string, my resultant strings always get suffixed with two zeros.

When converting an integer to a string field using the CStr() function, the default result will be automatically set to have two decimal places (for instance, 555.00). This can be eliminated through the addition of a second argument in the function that explicitly specifies the number of decimal places to be set to zero. For example, Cstr({Purchases.Units in Stock},0) would work.




Crystal Reports XI(c) Official Guide
Crystal Reports XI Official Guide
ISBN: 0672329174
EAN: 2147483647
Year: N/A
Pages: 365

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