BrowseDialog Selecting A Specific Record


Author
Message
Chris Crabtree
Chris Crabtree
StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)StrataFrame Novice (57 reputation)
Group: Forum Members
Posts: 57, Visits: 107
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!

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
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.
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
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.
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