Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String is too long to fit error with EditBox in a grid
Message
 
 
À
02/02/2007 09:15:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01191649
Message ID:
01191760
Vues:
7
>>>>Hi everybody,
>>>>
>>>>When I try to scroll an editbox, which is in the Grid, I get "String is too long to fit" error message. Is there any way to fix the problem?
>>>>
>>>>Thanks a lot in advance.
>>>
>>>Is column.controlsource set directly to memo field (no any expressions)?
>>
>>No, I take it back. It is set to
>>
>>alltrim(crsSearchResults.mGenericResolution) + iif(not empty(crsSearchResults.mResolution),iif(not empty(crsSearchResults.mGenericResolution), CHR(13) + chr(10) ,"") + "Comments: " + crsSearchResults.mResolution, "")
>>
>>Should I better create this as an extra field?
>
>So we have the answer. If you use expression then it should not be longer than 254 chars, or you get the error. Use separate memo field.

Thanks, Edward. One more stupid thing from my part.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform