Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox that is tied to a child object
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00614825
Message ID:
00617015
Views:
25
>Do you have code that sends a Requery() message to the combobox in the PostRequeryHook() of the business object that loads its data? This ensures that the combo box is updated properly when the RowSource changes.
>
>For example:
>
>PostRequeryHook()
>----------------
>ThisForm.Combobox.Requery()
>
>
>Regards,

Kevin,

That's what I was missing. That corrects this problem. I feel pretty stupid that I didn't put it together....

Here's another one that has been bothering me with this same ComboBox. It doesn't refresh with the value that is in it's control source, but only on the first find. If I manually REQUERY(), it then fills in. I have verified that the table does not hold the value the first time the view is queried for the find. This view is from 2 tables and this field comes from the second table. If I work with the view outside of the framework, it works properly. It works every time after the first find, but not on the first one....

Any thoughts?

I haven't been able to test the business objects since I upsized to SQL as I eliminated all of the local tables and views since they wouldn't be using them. Is there some setting that I can use to allow me to test business objects outside of the application when they are tied to a remote view?

Thanks,
Rod Lewis
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform