Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox rowsource cannot be bizobject secondary view?
Message
From
04/09/2002 13:19:54
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
 
To
04/09/2002 12:01:52
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00696659
Message ID:
00696703
Views:
12
This message has been marked as the solution to the initial question of the thread.
Check out kBizObj.Requery() -- in kBizness library.

BizObjs only requery specific aliases. Requery() accepts two parameters, the second of which is the name of the specific alias to requery. (If the parameter isn't passed, by default the InitialSelectedAlias is the one requeried.)

Hope that helps,
---J

>I was putting together a form with a ccombobox, had set all the appropriate properties, including RowSourceType 6-Fields, RowSource as a bizobject view, and told the bizobject.postrequeryhook to requery it, and it still came up blank.
>
>In trying to test/recreate this, I built a temporary bizobj with the view in question as the bizobj primary view. It worked as expected. When the view was added as a secondary, it again stopped working. Trying to switch the SelectAlias() in the combobox.requery did not work.
>
>I have successfully used a secondary view as the recordsource of a grid, so I'm wondering why I can't do the same with a combobox.
Previous
Reply
Map
View

Click here to load this message in the networking platform