Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling ComboBoxes
Message
 
To
12/07/1999 11:23:01
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00240227
Message ID:
00241314
Views:
16
Rex,

>What is the preferred way of handling a lookup type combo box? My choices are to create business objects for each and create a one to many relationship or to add the cursor to the data environment and requery comboboxes in the PostRequeryHook of the primary bizobj.
>
>I know there is no "right" way, but what way do you use and why?

If you add a cursor to a business object's DE, it goes wherever the business objects goes. If the business object truly needs this "lookup" cursor wherever it goes, this is a good thing. If it only needs the lookup cursor in the context of a particular form, then it's extra baggage and you should consider using a separate business object to load the cursor for the combobox.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform