|
-
Feb 14th, 2009, 07:29 AM
#1
Thread Starter
Member
Problem usin "NOT IN" syntax
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
-
Feb 14th, 2009, 01:27 PM
#2
Re: Problem usin "NOT IN" syntax
Try :
Code:
myaop29report.RecordSelectionFormula = "NOT ({AOP29.field2} IN [ " & xyz & "] )"
-
Feb 14th, 2009, 07:19 PM
#3
Thread Starter
Member
Re: Problem usin "NOT IN" syntax
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|