>I am trying to use ExecScript for the first time. I have a table called "AutoLog" with a memo field called "JCode". As a test, the JCode memo field simply contains the command return.
>
>When I execute this line:
> =ExecScript(AutoLog.JCode)
>I get a "Syntax Error".
>
>When I execute this line:
> =ExecScript("AutoLog.JCode")
>I get "Object AutoLog is not found".
>The AutoLog table is open in the current work area.
>
>What is the correct way to use this function?
There may be non-visible characters in the memo field along with your RETURN string. What does len(autolog.jcode) return?