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!

Problem using "NOT IN" Syntax in crystal report 2008

Status
Not open for further replies.

vc1881

Programmer
Nov 9, 2008
32
0
0
US
Hello,

What is the proper syntax for searching using the NOT IN command?, the IN sybtax works, but the NOT IN is not the proper syntax.


IN Syntax:

myaop29report.RecordSelectionFormula = "{AOP29.field2}in [ " & xyz & "]"

NOT IN Syntax: Error Message (boolean or string expected)

myaop29report.RecordSelectionFormula = "{AOP29.field2} not in [ " & xyz & "]"

Thanks,

Victor
 
not({table.field} in ["A","B","C"])

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top