Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox#Array
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00746918
Message ID:
00747064
Views:
28
Bingo, Fred! - Sergey, guess this is for your database!

>No, a refresh will not take care of showing new values or a redimensioned array. You need a ListBox.Requery() to update it's internal list from the array.

Yup, this did the trick! Sometimes my fault is that I expect things to be more linear / logic than they actually turn out to be.

E.g. if in legacy code the array population is already taken care of I reason a Refresh should do the trick (like SHOW GET). But apparently it needs the Requery when the number of elements increases. (Decrease illogically is ok.) That´s why it works w/o Requery when the first record contains more elements!

Thanks a ton
G
Previous
Reply
Map
View

Click here to load this message in the networking platform