Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a limit on length of string to macro?
Message
From
01/06/2008 02:27:36
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01320797
Message ID:
01320809
Views:
20
>Hi,
>
>I have come across an issue where when I try to macro expand a string (that contains INSERT command) and the string is over 612 characters I get error. If the string is less than 612, macro works.
>
>Is there a limit? And if there is, if there a way to get around it?
>
As Naomi said, makro length is sligthly above 8K, so only very elaborate SQL statements are endangered (when code is generated, wheretype key and modified creates longest lines).

You are perhaps running against line length: see Hilmar's code easily breaching a couple of K.

HTH

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform