Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement