Mastering Crystal Reports 9
| ||||||||||
The value of a constant never changes, so Crystal takes advantage of this fact to define several formatting and calculation values for you. You can use these constants in code or in drop-down boxes to make choices in the various Expert dialogs provided.
-
Boolean Conditions: on any change, on change to yes, on change to no, on every no, on next is yes, on next is no
-
Colors: Color constants appear in the Function Tree when a formatting formula is being coded; this is shown in Figure 4.40. To use any of the colors in code directly, preface the color name with a cr, for example, crRed.
Figure 4.40. Color constants for formatting -
Date Conditions: for each day, for each week, for each two weeks, for each half month, for each month, for each quarter, for each half year, for each year
-
First Day of Week: UseSystem, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
-
First Week of Year: UseSystem, FirstJan1, FirstFourDays, FirstFullWeek
-
Fonts: crRegular, crBold, crItalic, crBoldItalic
-
Time Conditions: for each second, for each minute, for each hour, for AM/PM
| Use of content on this site is expressly subject to the restrictions set forth in the Membership Agreement | |
| Conello © 2000-2003 Feedback | |