Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox#Array
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00746918
Message ID:
00747064
Vues:
32
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform