StrataFrame Forum

Browse Dialog question...

http://forum.strataframe.net/Topic8966.aspx

By StarkMike - 5/22/2007

I just performed a search using a browse dialog and it the search returned 3 records. I double-clicked on one of them and I noticed that it loaded ALL 3 of them and then just navigated to the one i had double clicked on. Is there a way that it will only populate the BO with the record I select?



Also is there a way to require the end-user to select a search criteria? Like say a combo box and they need to select an item.
By StrataFrame Team - 5/23/2007

There isn't a way to only copy the selected record from the BO.  It always copies all 3 and then navigates to the selected one.  If you only want that one record, then you can put a "dummy" bo on your form that the BrowseDialog will copy back in to, filter it to only that record, and then do a CopyDataFrom into your business object.

As for requiring fields to be entered on the search, we don't have that functionality right now, but we are looking into adding a "Searching" event to the BrowseDialog that can be canceled, so you can test the values within the fields, show a message, and then cancel the search.