Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unrecognized phrase/keyword
Message
From
24/06/2008 03:30:07
 
 
To
24/06/2008 03:25:09
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01326270
Message ID:
01326271
Views:
16
>I have any code
>tcSQL="select * from mytable "
>tcAlias="myAlias"
>...
>lcSQL=tcSQL + " INTO CURSOR " + tcAlias + " READWRITE "
>&lcsql
>
>ERROR: Command contains unrecognised phrase/keyword.

Can you see any unexpected parameter content in the debugger?
This test code works for me:
CREATE CURSOR mytable (test Int)
INSERT INTO mytable VALUES (1)
tcSQL="select * from mytable "
tcAlias="myAlias"
lcSQL=tcSQL + " INTO CURSOR " + tcAlias + " READWRITE "
&lcsql
BROWSE
hth
-Stefan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform