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!

Using Like operator in code 1

Status
Not open for further replies.

Wrathchild

Technical User
Aug 24, 2001
303
US
It took me a while to figure out the proper syntax for using the Like operator within code and I couldn't find any related posts, so thought I'd share:

Code:
If rst!SystemNode Like "*" & nodes![node] & "*" Then

(this instance will match nodes![node] to rst!SystemNode if rst!SystemNode contains nodes![node] within the string)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top