Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


USING "NOT IN" SYNTAX


USING "NOT IN" SYNTAX

Author
Message
victor64
victor64
Forum God
Forum God (5.4K reputation)Forum God (5.4K reputation)Forum God (5.4K reputation)Forum God (5.4K reputation)Forum God (5.4K reputation)Forum God (5.4K reputation)Forum God (5.4K reputation)Forum God (5.4K reputation)Forum God (5.4K reputation)

Group: Forum Members
Posts: 26, Visits: 28
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

TallOne
TallOne
Forum God
Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)Forum God (51K reputation)

Group: Forum Members
Posts: 370, Visits: 212
Your syntax usage for NOT IN is correct if your using TSQL.  But for CR, I suggest creating the same record selection formula in CR only. Get it working there to make sure that the logic is correct. Once you have it working in CR, copy the record selection formula into your .NET app.

Good Luck

TallOne

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search