Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Max len for a command ?
Message
From
11/01/2010 13:35:45
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Miscellaneous
Thread ID:
01443241
Message ID:
01443292
Views:
46
>Hi all,
>
>THis command does not give a error.
>
>
> TEXT TO THISFORM.oPrivatecParam.ccondit NOSHOW TEXTMERGE PRETEXT 15
>   		'/'+ ALLTR(Mutuelle.cmatricule) + '/' $ '100/200/300//200/300/
>        		/200/300//200/300//200/300//200/300//200/300//200/300//200/300/' = .F.
>    ENDTEXT
> 
>m.ccondit = THISFORM.oPrivatecParam.ccondit 
>APPEND FROM  c:\test\Temp  FOR EVAL( m.ccondit )
>
>
>BUT
>
>this one gives a error 36 ( LEN Command > 254 carac ? )
>
>
> TEXT TO THISFORM.oPrivatecParam.ccondit NOSHOW TEXTMERGE PRETEXT 15
>   		'/'+ ALLTR(Mutuelle.cmatricule) + '/' $ '100/200/300//200/300/
>   		/200/300//200/300//200/300//200/300//200/300//200/300//200/300/
>   		/200/300//200/300//200/300//200/300//200/300//200/300//200/300/
>   		/200/300//200/300//200/300//200/300//200/300//200/300//200/300/
>   		/200/300//200/300//200/300//200/300//200/300//200/300//200/300/
>   		/200/300//200/300//200/300//200/300//200/300//200/300//200/300/
>   		/200/300//200/300//200/300//200/300//200/300//200/300//200/300/
>   		/200/300//200/300//200/300//200/300//200/300//200/300//200/300/
>   		/200/300//200/300//200/300//200/300//200/300//200/300//200/300/
>   		/200/300//200/300//200/300//200/300//200/300//200/300//200/300/' = .F.
>    ENDTEXT
> m.ccondit = THISFORM.oPrivatecParam.ccondit 
>APPEND FROM  c:\test\Temp  FOR EVAL( m.ccondit )
>
>
>How can i turn around ?
>
>Thank in advance
>
>bernhart

the m.ccondit is too long for an EVAL()
? EVALUATE("'"+SPACE(255)+"'")
? EVALUATE("'"+SPACE(256)+"'")
try ( this have a 8K bound) and can to be faster
APPEND FROM  c:\test\Temp  FOR &ccondit 
Previous
Reply
Map
View

Click here to load this message in the networking platform