Crystal Reports Tutorial
Selected Reading
- Crystal Reports - Discussion
- Crystal Reports - Useful Resources
- Crystal Reports - Quick Guide
- Crystal Reports - Data Export to CSV
- Crystal Reports - Data Export to HTML
- Crystal Reports - Data Export to XML
- Crystal Reports - Data Export to Excel
- Crystal Reports - Data Export Overview
- Crystal Subreports - Overview
- Crystal Reports - Edit Parameter Field
- Crystal Reports - Create Parameter Field
- Crystal Reports - Cascading Prompts
- Crystal Reports - Prompt Panels
- Crystal Reports - Filters
- Crystal Reports - Parameters
- Crystal Reports - Creating Arrays
- Crystal Reports - Creating Variables
- Crystal Reports - Conditional Formatting
- Crystal Reports - Applying Calculations
- Crystal Reports - If-Then-Else
- Crystal Reports - Apply Boolean Formulas
- Creating & Modifying Formulas
- Crystal Reports - Formula Workshop
- Crystal Reports - Defining Formulas
- Crystal Reports - Cross Tab Layout
- Crystal Reports - Charts
- Crystal Reports - Inserting Objects
- Crystal Reports - Templates
- Crystal Reports - Group Options
- Crystal Reports - Groups
- Crystal Reports - Delete Sections
- Crystal Reports - Sections
- Field Objects Controls & Modifications
- Crystal Reports - Time Based Filters
- Query Filters & Filter Conditions
- Crystal Reports - Queries
- Crystal Reports - Data Sources
- Crystal Reports - Design Environment
- Crystal Reports - Getting Help
- Crystal Reports - Page Layout
- Crystal Reports - Options
- Crystal Reports - GUI Navigation
- Crystal Reports - Overview
- Crystal Reports - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Crystal Reports - Apply Boolean Formulas
Crystal Reports - Apply Boolean Formulas
There are different Boolean operators that can be used in formula in Crystal Reports. They are −
AND
OR
NOT
Eqv
Imp
XOR
All these operators are used to pass multiple conditions in formulas −
AND operator is used when you want both the conditions in the formula to be true. Other Boolean operators and their meaning is as mentioned in the above snapshot.
Using Boolean Operators ‘AND’ −
If {CUSTOMER.CUSTOMER_NAME} [1 to 2] = "AN" and ToText({CUSTOMER.CUSTOMER ID}) [2] = "4" then "TRUE" Else "FALSE"
Using Boolean Operators ‘AND’ and ‘OR’ −
If ({CUSTOMER.CUSTOMER_NAME} [1 to 2] = "AN" and ToText({CUSTOMER.CUSTOMER ID}) [1] = "4") or ({CUSTOMER.CUSTOMER_NAME} [1 to 2] = "Ja" and ToText({CUSTOMER.CUSTOMER ID}) [1] = "2") then "Five star rating CUSTOMER" Else "1 star rating CUSTOMER"Advertisements