Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExecScript
Message
 
 
To
27/08/2004 18:55:46
John Tomblin
Service Station Systems, Inc.
San Jose, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00937217
Message ID:
00937220
Views:
7
John,

Yes, it should work Try
CREATE CURSOR test ( code M)
INSERT INTO test VALUES ([x=VERSION()] + CHR(13) + CHR(10) + [WAIT WINDOW x])
EXECSCRIPT(test.code)
Are you sure that there're no errors in the stored code? Copy it to .PRG and try to compile.

>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?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform