Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fill combobox drop-down list with memo field?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00648154
Message ID:
00648201
Vues:
15
>What's the best way to fill a combobox drop-down list with lines from a memo field? The memo field has names of persons in it such as
>
>JOE DOE
>MOE DOE
>JOHN DOE
>DODI DOE
>JANE DOE
>DOTTIE DOE
>
>The controlsource property with be tied to a character field that holds a name CHAR 30.
>
>Put names into array first or what?

I'd pull the memo field content to an array using ALINES() and use the array as the record source for the drop-down combo unless you need to add values, in which case a different RecordSourceType should be used to allow you to extend the content such as Value or None.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform