Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I refresh my combo to see a newly appended record
Message
De
16/08/1999 12:23:39
 
 
À
16/08/1999 03:50:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00253805
Message ID:
00254104
Vues:
26
>Hi David.
>
>>> By the way. Even though my explicit requery after the append fails to rebuild the list, subsquently clicking on the combolist apparently does cause it to be rebuilt automatically, because the new value (a blank) does appear and the combo listcount has increased by 1. <<
>
>Try adding a This.Parent.Combo.Refresh() after the Requery()

Thanks. Actually, I had already tried that to no avail. Even tried firing the programmatic change...for naught. As I told Nancy, a simplified test version of my form works, so clearly, I'm doing something strange in the real one.

I think I'm going to just have to keep backing out code that seems related until I find it. One thing I am doing in the real one that may not be kosher is calling the click of the commandbutton from the init of the form. Not sure if this is OK or not.

Should there be a problem with calling the click of a control from the init of its container?
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform