Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, July 5, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Is there a Like Operator
SLX_Novice
Posts: 246
 
Is there a Like OperatorYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Jun 11 1:00 PM
fiogf49gjkf0d

Hi all.


I'm working on a "Manage Form" in SLX LAN v7.2.1.


And I'm trying to do an if-else statement using the LIKE operator but it's not working I keep getting the following error: "Sub or Function not defined" and it's saying the error is the If statement. Is there an equivalent of LIKE that I can use?


Thank you in advance.


Sub cmbCompetitorChange(Sender)

If cmbCompetitorTier.Text Like "GC%" Then

Msgbox("Information Saved")

Else

Msgbox("Start Again")

End If

End Sub
[Reply][Quote]
SLX_Novice
Posts: 246
 
Re: Is there a Like OperatorYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Jun 11 1:11 PM
fiogf49gjkf0d

Nevermind I figured it out using InStr().


 


If InStr(cmbCompetitorTier.Text,"GC")>0 Then


Msgbox("Information Saved")


Else


Msgbox("Start Again")


End If

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/5/2025 2:46:25 AM