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 23:41:11
 
 
À
16/08/1999 19:52:13
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00253805
Message ID:
00254399
Vues:
27
>Hm. Did Marcia's suggestion of adding the refresh() help?
>
>At what point and how do you check the listcount?

Actually, I had already tried that. No work'em. But....

I did find the problem, after simplifying with a test form.

I was using .listitemid instead of .listindex to force the list to where I want it. Don't know if that's the recommended way. But it works! The successful snippet is:
append blank
thisform.mycombo.requery
thisform.mycombo.listindex = 1  && table ordered on wono & blank value
                                &&  for wono makes this work
thisform.refresh
It seems like modifying .listindex is a trigger for getting the combo to synch up it's displayvalue,value and rowsource. Is that true?
"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