Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select not going into cursor specified
Message
From
18/04/2008 10:43:05
 
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:
01311681
Views:
22
Or just use PRETEXT 15 instead of PRETEXT 7.

>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:
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform