WebRecorder code produces statements encapsulated in braces and double quotes.
Changing this when using variable values can cause issues. You may encounter the very helpful Line nnnn: ? is inappropriate
where ? turns out to be the first character of the variable value.
The IEFormFill as generated by WebRecorder:
Code: Select all
IEFormFill>%IE[0]%,{""},{"payment"},{"recipientAcctRef"},{"Payment Ref"},0,ie_res
Code: Select all
Let>RefText=1234
IEFormFill>%IE[0]%,{""},{"payment"},{"recipientAcctRef"},{"%RefText%"},0,ie_res
But NO Alpha chars can be in the variable.
Let>RefText=Inv123 or any other combination is "inappropriate"
Solution: Eventually I found I was able to code it without the double-quotes - {%RefText%}
Code: Select all
IEFormFill>%IE[0]%,{""},{"payment"},{"recipientAcctRef"},{%RefText%},0,ie_res
Hopes this keeps someone else sane
Meths