Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
500 char String too long?
Message
 
 
À
16/06/2011 18:51:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Divers
Thread ID:
01514836
Message ID:
01514838
Vues:
83
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform