Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
THISFORM.Array problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00624573
Message ID:
00624578
Views:
11
Cool.. let me go do that and I'll get right back.

>Tommy,
>
>When you change the RowSource out from under a control like cbo and lst you need to call their .Requery() method so that they will repopulate themselves.
>
>>After a SQL select some data to the array, I show it in a combobox list.
>>
>>The first time, it shows just fine.... the number of array elements equals the combobox list drop down.
>>
>>But when I pick another value from a Source Table, and requery the SQL (by running the SQL statement again), and go back to the drop down list for aAd, it shows the new data.. but the combobox list has the same number of elements it did before (if the SQL is less in number, the bottom of the combobox list is blank... if the SQL is more in number, then the combobox dropdown still has the same number of elements as before, and the new SQL elements don't show).
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform