Crystal Reports for Eclipse Designer Guide

DefaultAttribute

Description
The value returned by DefaultAttribute depends upon the value selected for the attribute being formatted in the attribute value interface.
Returns
Can return any field type
Action
The value returned by DefaultAttribute depends upon the value selected for the attribute being formatted in the attribute value interface.
Examples
DefaultAttribute can be used in conjunction with CurrentFieldValue to conditionally format fields based upon their values and default condition.
if CurrentFieldValue < 0 then DefaultAttribute else crBlack
Formats the font color of the object to print in the default color when the value of the field is less than zero and to print black when the value of the field is greater than zero.
Comments
DefaultAttribute is only available when entering formatting formulas.



SAP BusinessObjects
http://www.sap.com/sapbusinessobjects/
Support services
http://service.sap.com/bosap-support/
Product Documentation on the Web
http://help.sap.com/