infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
If Statements
System
Originally posted by Rich
I have an IF statement that has a space in the condition. I'm just confirming that I put single quotes around the condition like so:
2(0).3(0).0(0).AIL(0).#3(0).[0] ne ='CLINIC SCREENING'
Thank you all!
Find more posts tagged with
Clovertech
Comments
Paul Bishop
I've always had issues when I have a literal with spaces I'm trying to compare to so what I've gotten into the habit of doing is copying the literal to a variable (I would use
@lit_clinic_screening
in this case), then have the if statement compare to that variable:
2(0).3(0).0(0).AIL(0).#3(0).[0] ne
@lit_clinic_screening
System
Originally posted by Rich
Thank you, Paul, that'll work!