How to check if a variable exists?

Hello,

I create variables on the fly like this:

inputReport.Script.Variables := '123456';

I need to check if the variable exists but the IndexOf function doesn't work:


inputReport.Script.Variables := '123456';

x := inputReport.Variables.IndexOf('phone'); // It returns -1, although the variable is there

Comments

Leave a Comment