Welcome, Tricia
I think your best bet is to use one business object with either separate methods for getting the different code types, or one method that creates 2 dataviews for the data, each with a filter applied to only show the code type you need. Either way, the key is to create dataviews in the same dataset.
Then, check out devguide section titled, "Synchronizing Data Bound User Interface Controls." Read through the part called, "Turning off Synchronization" for the syntax of how to set up dataviews in the property sheet for your comboboxes.
Hope that helps,
---J
>I am new to .Net and the Mere Mortals framework, so please forgive me if this is a silly question.
>
>I have a table that stores all of the miscellaneous codes that I use in my application. Each code is assigned a type which indicates what the code is used for (i.e. Status Codes, Priority codes, etc.). I need to display the proper codes in a dropdown list box -- but only the codes for a particular type. I want a Status Codes dropdown and a Priority Codes dropdown.
>
>Since Codes is one table, I originally created one business object, but I couldn't find a way to filter the values to the particular codes I wanted displayed. So I created two different business object -- one for Priority Codes and one for Status Codes and set the Binding source of each dropdown appropriately. Is this the best way to handle this situation ?
>
>Thanks
>Tricia