03-29-2016, 03:14 PM
Hi,
in my application I have a ListBox, I get all items with:
that it returns me:
"item1
item2
item3
item4"
In my DataTable I insert in one cell this values
"item1
item2
item3
item4"
If I use an easy IF condition, it doesn't work:
The conditions is always FALSE.
Why?
Could be an error with new line char?
Thanks.
in my application I have a ListBox, I get all items with:
Code:
allGroups = SwfWindow("myApp").SwfList("listBoxGroup").GetROProperty("all items")
"item1
item2
item3
item4"
In my DataTable I insert in one cell this values
"item1
item2
item3
item4"
If I use an easy IF condition, it doesn't work:
Code:
If allGroups = DataTable.Value("groups_to_expected", "Step 1") Then
....my code
End If
The conditions is always FALSE.
Why?
Could be an error with new line char?
Thanks.