Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing ComboBoxes
Message
 
To
10/05/2000 12:08:54
Steven Kleypas
Tarrant County College District
Texas, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00368121
Message ID:
00368425
Views:
15
>I checked the order of requerying the bizobj's and comboboxes and got it working better. However, the controls are still blank immediately after the form instantiates. After the initial selections of each of the comboboxes, they will refresh correctly. One other peculiarity: if the second or third choice within the child combobox is selected, and then a new parent choice is selected, the child box will go blank. hmmm...
>
Did you check to make sure your views do not have the NO DATA ON LOAD set to true?

OR

If you do use view parameters then you will need to manually requery the bizobjs in the form's init method. In each of the bizobj's postrequeryhook method requery the associated combobox. This is necessary since when the comboboxes were created there was no data available in the views.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Reply
Map
View

Click here to load this message in the networking platform