Hi John,
I came to a limitation in execsript(): it wasn't able to treat "script files" larger than 64Kb (actually the limit is even a bit lower than that).
Are you in that situation?
Pat
>I have a table with a memo field. The memo field contains code to execute. When I run ExecScript(TableName.MemoField) I get a syntax error. The debugger won't show any code when I am running ExecScript() so I can't see the problem.
>
>However, if I do exactly the same thing except I copy the contents of the memo field to a .PRG and run that instead of the ExecScript(), everything works perfectly with no errors.
>
>The Foxpro help file mentions no limitations of ExecScript() although there must be some. In the script, I call database stored procedures. Is that it?
>
>Any ideas or wisdom to share?