Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop down combo no resizing when array changes
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01060405
Message ID:
01060421
Views:
17
This message has been marked as the solution to the initial question of the thread.
Issue mycombo.Requery().

>I have a drop down combo on a customer form. the rowsource is an array. The array is rebuilt and resized whenever the customer number changes. but when I drop down the combo, it always has the same number of rows as when the array was built the first time for the first customer. In the debugger the array is the correct number of elements, but the combo always the same number of rows as the first customer. only two elements in length. but when the combo is dropped down, there are many empty rows which I imagine are from the first customer that had 176 elements in the array.
>
>
>
>SELECT UPPER(dname) FROM directory INTO ARRAY a_dir ORDER BY dname
>PUBLIC a_dir[_tally+1]
>a_dir[_tally+1] = ""
>
>
>Any ideas?
>
>Thanks
>
>brenda
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform