Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question on Basic Syntax Supression formula

Status
Not open for further replies.

chrisgeek

Technical User
Oct 16, 2008
25
US
Hi I have a question on Basic Syntax supression formula. Currently on Crystal XI with SQL 2005. The formula is

Global iCount as number

WhilePrintingRecords

If {mainprocedure;1.entry1} = 100 then
iCount = iCount + 1
Formula = False

ELSE
Formula = True
End if

This formula is supressing duplicates by giving a count (or so I think).

What I want to do in this supression section is
IF table.value = "value1" then true else if table.other = "value2" then true else false.

How can I add this to the current basic syntax.
 
try to put this formula in 'formula - suppress'

((table.value = "value1") OR (table.other ="value2"))


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top