StrataFrame Forum

BrowseDialog Selecting A Specific Record

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

By Chris Crabtree - 2/12/2007

In my application, I call up the BrowseDialog, choose a specific Customer and Search. I get a list of ten items.

I double-click the third item, and the BrowseDialog closes, returning me to my BO maintenance form. So far, so good.

The set of records that the BO is aware of at that moment is those same ten items I got when choosing the specific Customer. Again, so far, so good.

But why is the current record not the double-clicked record? Shouldn't Navigate happen in there somewhere? It works that way in the BrowseDialog sample, but not in my app.

What am I missing?

Thanks!

By StrataFrame Team - 2/13/2007

That's odd... when you double-click the record, the one that you double-clicked should be the selected or "navigated" record when the BrowseDialog returns the contents of the search.  Can you post some more info?  I think it does a NavigateToPrimaryKey() to go to the selected record.
By StrataFrame Team - 2/13/2007

Oh, if you're trying to test it in the CurrentDataTableRefilled event, it won't be navigated, yet, if that helps.  Only after the fill has completed is it navigated.  But all of that happens before the BrowseDialog returns from the ShowDialog() method.