Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box - preventing truncated field values
Message
De
06/01/2006 11:19:47
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01083909
Message ID:
01084104
Vues:
11
>Hi Cetin,
>
>Not sure if I agree with you <g>, Fabio's solution might be better in this case, but, unless I am mistaken, wouldn't it be more limited? For example, there is a limit in both the number of characters you can write (I believe 261 is the max) and with the content, for example:
>
>
.RowSource = ["Fournier, Michel", "A", "Basoz, Cetin", "B", "Lunardon, Fabio", "C"]
would not work; while
>
.AddListItem("Fournier, Michel",1,1)
> .AddListItem("A",1,2)
> .AddListItem("Basoz, Cetin",2,1)
> .AddListItem("B",2,2)
> .AddListItem("Lunardon, Fabio",3,1)
> .AddListItem("C",3,2)
>
would

The limitation applies to the length of a string constant in VFP (or a string entered in the PEM window), which is 255 characters. You can concatenate them, however, or have the string stored in a memo field somewhere, or in a text file.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform