Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Losing part of ARRAY data in DropDown ComboBox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01429090
Message ID:
01429097
Vues:
74
This message has been marked as the solution to the initial question of the thread.
You've to issue .Requery() after any changes to the combo RowSource.

>I made a public array then added data to it, basically only two records, which are TAB NAMES from an EXCEL Workbook. The Tab Names are also the names of the Worksheets within the Workbook. I present the array in a dropdown combobox for the user to select which worksheet he/she wants to import into a FoxPro table. However, I am losing one of the two records. When I trace through the code, I see that both pieces of data show up in the array, but not in the Combo Box.
>
>I cannot understand why the data, which properly shows up in the ARRAY, does not also show up fully in the DropDown Combo Box. I'll show my settings for the Combo Box at the bottom of this posting.
>
>Here is what I have in my Form's INIT:
>
< snip >
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform