General information
Category:
The Mere Mortals Framework
>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,
Rex,
I just want to add that you may not need a true business object. If the cursor is used for lookup purposes only, you can use the cDELogical utility, located in cUtils.vcx, which requires a lot less overhead.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only