That error is telling you that you have an ActionData object and you are trying to call it like a function, which it does not support. Since the only function call happening on that line of code is the call to open, that means somewhere above that line you have assigned an ActionData object to a variable called open. I cannot tell you exactly where this is happening because you didn't post all the code, but I'm pretty sure this is what is causing the error.
|