Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing part of ARRAY data in DropDown ComboBox
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01429090
Message ID:
01429097
Views:
77
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform