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

Operator - STARTS WITH - how to do multiple ?

Status
Not open for further replies.

markajem

Programmer
Dec 20, 2001
564
US
My present selection formula allows for one letter of the alphabet. I would like to include 3 or 4 other ones but really don't know the syntax of how to do muliple letters within this formula.

This shows I don't want records where this field starts with a "w"

not ({BINMSTR.BINLABEL} startswith "w")

Would like it to be where it won't show records if the field starts with "w", "r" and "g"

not ({BINMSTR.BINLABEL} startswith (in ["w", "r", "g"]))

Would this be correct or even close?

Thanks



Mark
Email: markanas333@hotmail.com
 
Okay, never mind. I guess my brain is just not awake yet. Sometimes you look too hard for a solution when it is staring you in the face.

Correct way:


not ({BINMSTR.BINLABEL} startswith ["g", "r", "w"])


sorry to be such a "DUH" today.

Thanks anyway.

Mark
Email: markanas333@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top