Crystal reports: professional reports 9780072230468, 0-07-223046-0, 0-07-222951-9

474 53 5MB

English Pages 384 [410] Year 2003

Report DMCA / Copyright

DOWNLOAD FILE

Polecaj historie

Crystal reports: professional reports
 9780072230468, 0-07-223046-0, 0-07-222951-9

Citation preview

Brought to You by

Team LiB Like the book? Buy it!

Professional Results

Crystal Reports



George Peck, The ABLAZE Group

McGraw-Hill Osborne New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore Sydney Toronto

Copyright © 2003 by The McGraw-Hill Companies, Inc. All rights reserved. Manufactured in the United States of America. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher. 0-07-223046-0 The material in this eBook also appears in the print version of this title: 0-07-222951-9

All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps. McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales promotions, or for use in corporate training programs. For more information, please contact George Hoare, Special Sales, at [email protected] or (212) 904-4069.

TERMS OF USE This is a copyrighted work and The McGraw-Hill Companies, Inc. (“McGraw-Hill”) and its licensors reserve all rights in and to the work. Use of this work is subject to these terms. Except as permitted under the Copyright Act of 1976 and the right to store and retrieve one copy of the work, you may not decompile, disassemble, reverse engineer, reproduce, modify, create derivative works based upon, transmit, distribute, disseminate, sell, publish or sublicense the work or any part of it without McGraw-Hill’s prior consent. You may use the work for your own noncommercial and personal use; any other use of the work is strictly prohibited. Your right to use the work may be terminated if you fail to comply with these terms. THE WORK IS PROVIDED “AS IS”. McGRAW-HILL AND ITS LICENSORS MAKE NO GUARANTEES OR WARRANTIES AS TO THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS TO BE OBTAINED FROM USING THE WORK, INCLUDING ANY INFORMATION THAT CAN BE ACCESSED THROUGH THE WORK VIA HYPERLINK OR OTHERWISE, AND EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. McGraw-Hill and its licensors do not warrant or guarantee that the functions contained in the work will meet your requirements or that its operation will be uninterrupted or error free. Neither McGraw-Hill nor its licensors shall be liable to you or anyone else for any inaccuracy, error or omission, regardless of cause, in the work or for any damages resulting therefrom. McGraw-Hill has no responsibility for the content of any information accessed through the work. Under no circumstances shall McGraw-Hill and/or its licensors be liable for any indirect, incidental, special, punitive, consequential or similar damages that result from the use of or inability to use the work, even if any of them has been advised of the possibility of such damages. This limitation of liability shall apply to any claim or cause whatsoever whether such claim or cause arises in contract, tort or otherwise. DOI: 10.1036/0072230460

For Denise My Partner in Business and Life

About the Author After more than 10 years as an internal consultant and trainer in a large corporation, George founded his own consulting and training firm, The Ablaze Group, in 1994 (www.AblazeGroup.com). He has trained, consulted, and developed custom software for large and small organizations throughout the United States, Canada, the United Kingdom, and Puerto Rico. George works as both a trainer and consultant exclusively with Crystal Reports, Crystal Enterprise, and Seagate Info. He serves on the Executive Committee of the Crystal Decisions User Group of North America, and has authored four other titles in the Crystal Reports: The Complete Reference series, best-sellers also published by McGraw-Hill/Osborne. Prior to his computer career, George was a broadcaster. His voice may still be heard in various national radio and TV commercial and promotional campaigns.

For more information about this title, click here.

Contents CHAPTER 1

CHAPTER 2

CHAPTER 3

Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xvii xix

Report Formatting and Appearance . . . . . . . . . . . . . . . . . . . .

1

Create a Watermark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Change Graphics According to a Condition . . . . . . . . . . . . . . . . . Use WingDings and Other Symbol Fonts . . . . . . . . . . . . . . . . . . . Print Bar Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Eliminate Blank Address Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . Text Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Multiple Report Sections . . . . . . . . . . . . . . . . . . . . . . . . . . Print Page Continuation Messages . . . . . . . . . . . . . . . . . . . . . . . . Shade Every Other Report Line . . . . . . . . . . . . . . . . . . . . . . . . . . . Choose from Thousands of Colors . . . . . . . . . . . . . . . . . . . . . . . .

2 3 5 6 7 8 9 10 11 13

Database Interaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

15

See What Is Sent to the Database . . . . . . . . . . . . . . . . . . . . . . . . . Viewing the SQL Query . . . . . . . . . . . . . . . . . . . . . . . . . . . Modifying the SQL Query . . . . . . . . . . . . . . . . . . . . . . . . . Add More Than One Database Type to a Report . . . . . . . . . . . . . . Use Indexed Fields for Faster Report Performance . . . . . . . . . . . . Link Your Database Table to an Excel Spreadsheet . . . . . . . . . . . Preparing the Spreadsheet . . . . . . . . . . . . . . . . . . . . . . . . . . Adding the Spreadsheet to the Report . . . . . . . . . . . . . . . . Change a Report from Test to Production . . . . . . . . . . . . . . . . . . . Troubleshoot Database Performance Problems . . . . . . . . . . . . . . . Determine Where the Problem Exists . . . . . . . . . . . . . . . . . Solve the Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

16 16 17 18 19 20 21 22 25 27 28 29

Formulas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

31

Simplify If-Then-Else with Select Case . . . . . . . . . . . . . . . . . . . . Automatically Complete Parts of Your Formula . . . . . . . . . . . . . . Troubleshoot a Runtime Formula Error . . . . . . . . . . . . . . . . . . . . .

32 34 35

Copyright 2003 by The McGraw-Hill Companies, Inc. Click Here for Terms of Use.

v

vi

Crystal Reports Professional Results

CHAPTER 4

CHAPTER 5

CHAPTER 6

CHAPTER 7

Share Formulas with Others in Your Organization . . . . . . . . . . . . Storing Formulas in a Common Text Document . . . . . . . . Using User Function Libraries . . . . . . . . . . . . . . . . . . . . . . Crystal Reports 9 Custom Functions and the Repository . . Understand Those Unclear Formula Error Messages . . . . . . . . . . Test for Numbers with Numeric Calculations . . . . . . . . . . . . . . . . Convert a String or Numeric Field to a Date . . . . . . . . . . . . . . . . . Converting String Values to Dates . . . . . . . . . . . . . . . . . . . Calculate the Interval Between Two Times . . . . . . . . . . . . . . . . . . Calculate the Interval Between Two Dates . . . . . . . . . . . . . . . . . . Check for Null Database Values . . . . . . . . . . . . . . . . . . . . . . . . . . Make a Formula Multiline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Base a Formula on a Parameter Field . . . . . . . . . . . . . . . . . . . . . . Avoid Divide by Zero Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37 37 38 39 43 45 46 46 49 51 51 52 54 55

Charts and Graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

57

Make Cool 3-D Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Color or Shade the Background . . . . . . . . . . . . . . . . . . . . . . . . . . . Replace Bars or Wedges with Pictures . . . . . . . . . . . . . . . . . . . . . Drill Down on Group Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Add a Trend Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Move the Chart Legend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Display a Chart Alongside Data . . . . . . . . . . . . . . . . . . . . . . . . . . Set Colors Based on Some Data Condition . . . . . . . . . . . . . . . . . .

58 62 65 67 69 71 73 75

Record Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

79

Improve Performance with the Select Expert . . . . . . . . . . . . . . . . Speed Up Your Report with SQL Expressions . . . . . . . . . . . . . . . Show Record Selection on the Report . . . . . . . . . . . . . . . . . . . . . . Make Creative Use of Like and Wildcards . . . . . . . . . . . . . . . . . . Use Pound Signs for Easy Date Selection . . . . . . . . . . . . . . . . . . . Use Automatic Weekday Reporting . . . . . . . . . . . . . . . . . . . . . . . Achieve Automatic Reporting with InThePeriod . . . . . . . . . . . . .

80 81 85 86 88 90 91

Web Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

93

Create Simple Web Reports with File | Export . . . . . . . . . . . . . . . Hyperlink to Web Pages or E-Mail Addresses . . . . . . . . . . . . . . . Control Hyperlinks with a Formula . . . . . . . . . . . . . . . . . . . . . . . . Pass a Value to Another Page in a Hyperlink . . . . . . . . . . . . . . . . Open Crystal Hyperlinks in a New Window . . . . . . . . . . . . . . . . . Add Tooltips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Crystal Reports 9 RAS for Simple Web Reports . . . . . . . . . . . . . .

94 97 99 100 102 104 106

Parameter Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

111

Show All Multivalue Values on the Report . . . . . . . . . . . . . . . . . . String Multivalue Parameters . . . . . . . . . . . . . . . . . . . . . . .

112 113

Contents

CHAPTER 8

CHAPTER 9

CHAPTER 10

Nonstring Multivalue Parameters . . . . . . . . . . . . . . . . . . . . Show Beginning and Ending Range Values . . . . . . . . . . . . . . . . . Embedding a Parameter in a Text Object . . . . . . . . . . . . . . . . . . . Formatting the Parameter Within the Text Object . . . . . . . Choose from Descriptions Instead of Codes . . . . . . . . . . . . . . . . . Control What Can Be Typed in a Parameter . . . . . . . . . . . . . . . . . Create an “All or Specific Item” Parameter . . . . . . . . . . . . . . . . . . String Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Nonstring Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Base the N in Top N on a Parameter . . . . . . . . . . . . . . . . . . . . . . . Obtaining Correct Grand Totals . . . . . . . . . . . . . . . . . . . . . Use a Parameter for Conditional Formatting . . . . . . . . . . . . . . . . .

114 115 117 118 120 122 124 125 126 127 130 132

Sorting and Grouping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

135

Sorting/Grouping Based on a Parameter Field . . . . . . . . . . . . . . . Limit to Certain Groups with Group Selection . . . . . . . . . . . . . . . Show Only the Best or Worst Groups . . . . . . . . . . . . . . . . . . . . . . Sort Groups by an Alternate Field . . . . . . . . . . . . . . . . . . . . . . . . . Correct Top N/Group Selection Grand Totals . . . . . . . . . . . . . . . . Copy Totals/Summaries Around the Report . . . . . . . . . . . . . . . . . Easily Change the Type of Summary . . . . . . . . . . . . . . . . . . . . . . Retrieve Only Group Totals from the Database . . . . . . . . . . . . . . . Customize the Group Name Field . . . . . . . . . . . . . . . . . . . . . . . . .

136 138 140 142 145 148 149 151 154

Subreports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

157

Hide the Border Around a Subreport . . . . . . . . . . . . . . . . . . . . . . . Showing the Border Only When There Is Subreport Data . “No Records” Message with an Empty Subreport . . . . . . . . . . . . Pass Data from Subreport to Main Report . . . . . . . . . . . . . . . . . . . Resetting the Shared Variable . . . . . . . . . . . . . . . . . . . . . . . Pass Data from Main Report to Subreport . . . . . . . . . . . . . . . . . . . Avoid Subreports with a Not Equal Join . . . . . . . . . . . . . . . . . . . . Place a Subreport Alongside Main Report Data . . . . . . . . . . . . . . Better Performance with On-Demand Subreports . . . . . . . . . . . . .

158 159 162 164 167 168 171 174 176

Cross-Tabs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

181

Add a Legend to a Cross-Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . Conditionally Format Cells . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simple Conditional Formatting with the Highlighting Expert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . More Sophisticated Conditional Formatting with the Format Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Automatic Object Placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Automatic Vertical Adjustment . . . . . . . . . . . . . . . . . . . . . . Automatic Horizontal Adjustment (Version 9 Only) . . . . . Change the Type of Cross-Tab Summary . . . . . . . . . . . . . . . . . . .

182 184 185 186 187 188 189 190

vii

viii

Crystal Reports Professional Results

APPENDIX

Avoid Truncation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Avoiding Label Truncation . . . . . . . . . . . . . . . . . . . . . . . . . Replacing Truncated Cell Values with Pound Signs . . . . . . Cross-Tabs with Formulas and Parameters . . . . . . . . . . . . . . . . . . Basing Rows, Columns, and Summarized Fields on Formulas and Parameters . . . . . . . . . . . . . . . . . . . . . . . . Conditionally Format Cross-Tabs Based on Parameter Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Customize the Cross-Tab Group Name Field . . . . . . . . . . .

192 192 193 196

Formula Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

203

Functions: Additional Functions . . . . . . . . . . . . . . . . . . . . . . . . . . ByteToText . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DateTimeTo2000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DateTimeToDate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DateTimeToSeconds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DateTimeToTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DateTo2000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DTSTo2000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DTSToDate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DTSToDateTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DTSToSeconds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DTSToTimeField . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DTSToTimeString . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EventNumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ExchGetId . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ExchGetOrganization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ExchGetPath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ExchGetSite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ExtractString . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FRAccRecTurnover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FRCashFlowVsTotalDebt . . . . . . . . . . . . . . . . . . . . . . . . . . FRCurrentRatio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FRDebtEquityRatio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FRDividendYield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FREarningsPerCommonShare . . . . . . . . . . . . . . . . . . . . . . FREquityVsTotalAssets . . . . . . . . . . . . . . . . . . . . . . . . . . . FRGrossProfitMargin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FRInterestCoverage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FRInventoryTurnover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FRNetProfitMargin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FROperatingProfitMargin . . . . . . . . . . . . . . . . . . . . . . . . . . FRPriceEarningsRatio . . . . . . . . . . . . . . . . . . . . . . . . . . . . FRQuickRatio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FRReturnOnCommonEquity . . . . . . . . . . . . . . . . . . . . . . .

204 205 205 206 206 206 206 207 207 207 207 208 208 208 209 209 209 210 210 210 211 211 211 212 212 213 213 213 214 214 214 215 215 215

196 198 199

Contents FRReturnOnEquity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FRReturnOnInvestedCapital . . . . . . . . . . . . . . . . . . . . . . . . FRReturnOnNetFixedAssets . . . . . . . . . . . . . . . . . . . . . . . . FRReturnOnTotalAssets . . . . . . . . . . . . . . . . . . . . . . . . . . . LooksLike . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Now . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Picture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Soundex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functions: Alerts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AlertMessage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AlertNames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IsAlertEnabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IsAlertTriggered . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functions: Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Average . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DistinctCount . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MakeArray . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Maximum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Minimum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PopulationStdDev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PopulationVariance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . StdDev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UBound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Variance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functions: Conditional Formatting . . . . . . . . . . . . . . . . . . . . . . . . Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CurrentFieldValue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DefaultAttribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GridRowColumnValue . . . . . . . . . . . . . . . . . . . . . . . . . . . . Row Or Column Names . . . . . . . . . . . . . . . . . . . . . . . . . . . Functions: Date and Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CurrentDate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CurrentDateTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CurrentTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Date . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DateAdd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DateDiff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DatePart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DateSerial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DateTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DateTimeValue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DateValue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Day . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

216 216 216 217 217 218 218 218 219 219 219 220 220 220 221 221 221 222 222 223 223 223 223 224 224 224 225 225 225 226 226 227 227 227 227 228 228 228 228 229 230 231 231 232 233

ix

x

Crystal Reports Professional Results DayOfWeek . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IsDate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IsDateTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IsTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Minute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Month . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MonthName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Second . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TimeSerial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TimeValue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . WeekDay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . WeekdayName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Year . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functions: Date Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Aged0To30Days . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Aged31To60Days . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Aged61To90Days . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AllDatesFromToday . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AllDatesFromTomorrow . . . . . . . . . . . . . . . . . . . . . . . . . . . AllDatesToToday . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AllDatesToYesterday . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Calendar1stHalf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Calendar2ndHalf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Calendar1stQtr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Calendar2ndQtr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Calendar3rdQtr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Calendar4thQtr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Last4WeeksToSun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Last7Days . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LastFullMonth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LastFullWeek . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LastYearMTD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LastYearYTD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MonthToDate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Next30Days . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Next31To60Days . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Next61To90Days . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Next91To365Days . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Over90Days . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . WeekToDateFromSun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . YearToDate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

234 234 235 235 236 236 236 237 237 237 238 238 238 239 239 240 241 242 242 242 242 243 243 243 244 244 244 245 245 245 246 246 247 247 247 248 248 248 248 249 249 249 250 250

Contents Functions: Document Properties . . . . . . . . . . . . . . . . . . . . . . . . . . DataDate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DataTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FileAuthor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FileCreationDate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FileName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ModificationDate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ModificationTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PrintDate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PrintTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ReportComments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ReportTitle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functions: Evaluation Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BeforeReadingRecords . . . . . . . . . . . . . . . . . . . . . . . . . . . . EvaluateAfter (x) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . WhilePrintingRecords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . WhileReadingRecords . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functions: Financial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ACCRINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ACCRINTM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AmorDEGRC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AmorLINC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CoupDayBS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CoupDays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CoupDaysNC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CoupNCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CoupNum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CoupPCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CumIPMT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CumPrinc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Days360 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DISC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DollarDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DollarFR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Duration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Effect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FVSchedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IntRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IPmt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IRR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ISPMT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

250 250 251 251 251 252 252 252 253 253 253 254 254 254 255 255 255 256 256 257 257 258 258 259 259 260 260 261 261 261 262 262 263 263 264 264 265 265 266 267 267 267 268 269

xi

xii

Crystal Reports Professional Results MDuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MIRR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Nominal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . NPer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . NPV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OddFPrice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OddFYield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OddLPrice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OddLYield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pmt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PPmt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Price . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PriceDisc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PriceMat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Received . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SLN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SYD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TBillEq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TBillPrice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TBillYield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . XIRR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . XNPV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . YearFrac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Yield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . YieldDisc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . YieldMat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functions: Math . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Abs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Atn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Fix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Int . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Remainder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rnd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Round . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sgn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sqr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

269 270 270 270 271 271 272 273 274 275 275 276 277 278 278 279 280 280 281 281 281 282 282 283 284 284 285 286 286 287 287 287 287 288 288 288 288 289 289 290 290 290 291 291

Contents Tan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Truncate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functions: Print State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DrillDownGroupLevel (version 9 only) . . . . . . . . . . . . . . . GroupNumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GroupSelection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . InRepeatedGroupHeader . . . . . . . . . . . . . . . . . . . . . . . . . . . IsNull . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Next (Crystal Syntax only) . . . . . . . . . . . . . . . . . . . . . . . . . NextIsNull . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . NextValue (Basic Syntax only) . . . . . . . . . . . . . . . . . . . . . . OnFirstRecord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OnLastRecord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PageNofM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PageNumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Previous (Crystal Syntax only) . . . . . . . . . . . . . . . . . . . . . . PreviousIsNull . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PreviousValue (Basic Syntax only) . . . . . . . . . . . . . . . . . . . RecordNumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RecordSelection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TotalPageCount . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functions: Programming Shortcuts . . . . . . . . . . . . . . . . . . . . . . . . Choose (index, choice1, choice2, ..., choiceN) . . . . . . . . . . IIF (expression, truePart, falsePart) . . . . . . . . . . . . . . . . . . Switch (expr1, value1, expr2, value2, ..., exprN, valueN) . . Functions: Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HasLowerBound (version 9 only) . . . . . . . . . . . . . . . . . . . . HasUpperBound (version 9 only) . . . . . . . . . . . . . . . . . . . . IncludesLowerBound (version 9 only) . . . . . . . . . . . . . . . . IncludesUpperBound (version 9 only) . . . . . . . . . . . . . . . . Functions: Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Asc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AscW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ChrW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . InStr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . InStrRev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IsNumeric . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Join . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Left . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LowerCase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

291 292 292 292 293 293 293 294 294 295 295 295 295 296 296 296 297 297 297 298 298 298 298 299 299 300 300 300 301 301 301 301 302 302 302 303 303 304 305 306 306 306 307 307

xiii

xiv

Crystal Reports Professional Results NumericText . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ProperCase (version 9 only) . . . . . . . . . . . . . . . . . . . . . . . . Replace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ReplicateString . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Right . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Roman (version 9 only) . . . . . . . . . . . . . . . . . . . . . . . . . . . Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Split . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . StrCmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . StrReverse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ToNumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ToText . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ToWords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Trim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TrimLeft . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TrimRight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UpperCase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Val . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functions: Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Average . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Correlation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Covariance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DistinctCount . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Maximum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Median . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Minimum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . NthLargest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . NthMostFrequent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . NthSmallest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PercentOfAverage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PercentOfCount . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PercentOfDistinctCount . . . . . . . . . . . . . . . . . . . . . . . . . . . PercentOfMaximum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PercentOfMinimum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PercentOfSum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PopulationStdDev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PopulationVariance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PthPercentile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . StdDev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Variance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . WeightedAverage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

307 308 308 309 309 310 310 310 311 312 312 313 316 316 316 317 317 317 318 318 319 320 320 321 322 323 324 325 325 326 327 328 329 331 332 333 334 335 336 337 338 339 340 340

Contents Functions: Type Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CBool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CCur . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CDate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CDateTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CDbl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CStr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operators: Arithmetic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Add (+) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Divide (/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exponentiate (^) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Integer Divide (\) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Modulus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Multiply (*) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Negate (–) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Percent (%) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Subtract (–) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operators: Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . In . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Make Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Redim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Redim Preserve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Subscript ([]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operators: Boolean . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . And . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Eqv (Logical equivalence) . . . . . . . . . . . . . . . . . . . . . . . . . Imp (Logical implication) . . . . . . . . . . . . . . . . . . . . . . . . . . Not . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Or . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Xor (Logical exclusion) . . . . . . . . . . . . . . . . . . . . . . . . . . . Operators: Comparisons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Equal (=) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Greater or Equal (>=) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Greater Than (>) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Less or Equal (