Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String too long to fit
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00713803
Message ID:
00713864
Views:
21
>Hi,
>
>Can someone give more information on the error 'String too long to fit'
>How can I resolve this?
>
>Thank you.
>
>Ria

Try with TEXT ... ENDTEXT

Ex:
TEXT TO lcCmd NOSHOW
 SELECT Field1, Field2, Field3, ...
 ... 
 FROM MyTable 
 ORDER BY Field1 
 INTO CURSOR MyCursor
ENDTEXT
lcCmd = CHRTRAN(lcCmd, CHR(10)+CHR(13), " ")
? LEN(lcCmd)
? lcCmd
*-- or
&lcCmd
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform