Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I refresh my combo to see a newly appended record
Message
From
16/08/1999 12:23:39
 
 
To
16/08/1999 03:50:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00253805
Message ID:
00254104
Views:
25
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform