>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