>>An external program cannot see report in the APP/EXE it's called from. The code you're passing to EXECSCRIPT() is compiled into a temporary (external) program and then executed. That's why it cannot see reports in APP. You'll have the same problem if you try to excute a form from APP/EXE using EXECSCRIPT().
>
>Sergey
>
>Thanks. Enough said.
Don't feel bad. This EXECSCRIPT() behavior is not documented so people expect the code passed to it to be run like other code in the same program. But it not the case.
--sb--