Quote from
Vadim on July 14, 2026, 12:14 pm
@m-burdess
The IFEx command has one parameter, which means one pair of quotation marks in the record.
However, since you are using a string with spaces, you should add the ASCII code for quotation marks for the string with spaces:
IfEx "[RTreeView2_Text] = [#34]England & Wales[#34]"
Alternatively, replace spaces with the ASCII code for spaces:
IfEx "[RTreeView2_Text] = England[#32]&[#32]Wales"
You can also use a variable for comparison instead of a string:
SetVar "[Var1]" "England & Wales"
IfEx "[RTreeView2_Text] = [Var1]"
Alternatively, you can use the code suggested by @rasl above.
@m-burdess
The IFEx command has one parameter, which means one pair of quotation marks in the record.
However, since you are using a string with spaces, you should add the ASCII code for quotation marks for the string with spaces:
IfEx "[RTreeView2_Text] = [#34]England & Wales[#34]"
Alternatively, replace spaces with the ASCII code for spaces:
IfEx "[RTreeView2_Text] = England[#32]&[#32]Wales"
You can also use a variable for comparison instead of a string:
SetVar "[Var1]" "England & Wales"
IfEx "[RTreeView2_Text] = [Var1]"
Alternatively, you can use the code suggested by @rasl above.
alangonzalez91 has reacted to this post.