Crystal Reports for Eclipse Designer Guide

CurrentFieldValue

Description
CurrentFieldValue returns the current value of the field that is about to be printed.
Returns
Can return any field type
Action
CurrentFieldValue returns the current value of the field that is about to be printed.
Typical Uses
You can use CurrentFieldValue to help do conditional formatting on a field element, field object or cross-tab summary or label.
Examples
if CurrentFieldValue = 0 then crRed
Formats the font color of the object to print red when the value of the field is zero.
Comments
  • CurrentFieldValue is only available when entering field formatting formulas.
  • The return type depends on the context of the formula. For example, if you are formatting a string field, CurrentFieldValue returns a string type, if you are formatting a date field, CurrentFieldValue returns a date type.



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