Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select not going into cursor specified
Message
 
 
To
18/04/2008 10:09:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01311654
Message ID:
01311662
Views:
19
This message has been marked as the solution to the initial question of the thread.
Or addd one line of code to replace CRLF with a space
TEXT TO lcstrsql TEXTMERGE NOSHOW PRETEXT 7
      SELECT * from <<lcTable>>
        ORDER BY <<lcTag>> <<lcDirection>>
        INTO CURSOR <<lcNTable1>> nofilter
ENDTEXT
lcstrsql = STRTRAN(lcstrsql, CHR(13)+ CHR(10), SPACE(1))
&lcstrsql.
>Missing a ";" at the end of each lines:
TEXT TO lcstrsql TEXTMERGE NOSHOW PRETEXT 7
>      SELECT * from <<lcTable>>;
>        ORDER BY <<lcTag>> <<lcDirection>>;
>        INTO CURSOR <<lcNTable1>> nofilter
>ENDTEXT
>&lcstrsql
>I have a select statement that is working off of a readwrite cursor that I created. I build the select statement within a Text...endText statement like this:
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform