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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

INLIST using $

Status
Not open for further replies.

txgeekgirl1

Programmer
Sep 10, 2009
85
US
I am trying to do a "macro substitution" type thing and have some pretty long Where clauses.

I am trying to shorten them by using something like this:

lcfilter = "LEFT(svccode, 3) <> '103' ;"
lcfilter = lcfilter + "and LEFT(svccode, 3) <> '207' "
lcfilter = lcfilter + "and LEFT(svccode, 6)!$('1102AM', '1102BM','2102AM','2102BM'")

Does anyone know the rule for using a NOT before the $. Should it be a <> or something else?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top