Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
500 char String too long?
Message
 
 
To
16/06/2011 18:51:27
Victor Chignes
Inteliventas
Peru
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01514836
Message ID:
01514838
Views:
82
>Hello. I'm filling a string with field names using this code:
> lnCampos=54
> lTempFields=""
> FOR i=1 TO lnCampos
> lTempFields=lTempFields+alltrim(UPPER(This.iaData[i, 1]))+","
> ENDFOR
>
>When lTempFields reach about 500 chars the program crashes with a "String too long" error. IIRC you can create huge memory fields in VFP.
>What could be the problem?
>
>Thanks in advance

Are you trying to use this string in a listbox? We did have this error long time ago when we tried to assign long strings in the listbox values.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform