Browse Dialog question...


Author
Message
StarkMike
StarkMike
StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)
Group: Forum Members
Posts: 436, Visits: 944
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.
StrataFrame Team
S
StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
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.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search