Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on TEXT ENDTEXT use
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01533979
Message ID:
01533980
Views:
80
This message has been marked as a message which has helped to the initial question of the thread.
>
>TEXT TO cSqlCommand TEXTMERGE NOSHOW PRETEXT 7
>       select mytable.field1, mytable.field2 from mytable
>       left join mytable2 on mytable.pk = mytable2.pk 
>       where  <<cSomeFilterExpr>> order by field1, field2
>ENDTEXT
>
TEXT/ENDTEXT stores the literal text contained into the variable, try changing your code to ...
TEXT TO cSqlCommand TEXTMERGE NOSHOW PRETEXT 7
select mytable.field1, mytable.field2 from mytable left join mytable2 on mytable.pk = mytable2.pk where  <<cSomeFilterExpr>> order by field1, field2
ENDTEXT
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform