Forum Discussion
Thank you, cunderw. I got it now. I see how this will do what I want.
I'm hoping you can help shed some light on how I am using this. I am trying to have a "or" in my Value but failing miserably.
What I am trying to do is look at a specific value on a spreadsheet (Dental Children) to see if the Value = "add dependent" OR "add one dependent"exists and based on that do a specific thing. Here is what I have:
Property = ProjectSuite.Variables.EmpData("Dental Children")
Condition = cmpEqual
Value = "add dependent" or "add one dependent"
Case Sensitive = 0 (no?)
I'm pretty sure the problem is syntax related in the Value field.
I've also tried making it a code expression:
ProjectSuite.Variables.EmpData.Value("Dental Children") == "add dependent" || ProjectSuite.Variables.EmpData.Value("Dental Children") == "add one dependent"
but that also fails.
Any thoughts on how to best approach this?
Related Content
Recent Discussions
- 20 hours ago
- 20 hours ago
- 5 days ago