Determining Row# using Dataview not in default sort order
Posted on 2006-04-21
Not exactly sure how to word it in the Title in 10 words or less.
I am passing a global variable glRecID from a filtered datagrid in one form to another
form that uses the following:
A dataview that is not sorted by RecID...it is sorted by ContactName
Combo box - ContactName
A Scroll Bar using cmContacts with CurrencyManager BindingContext
A number of text fields using DataBinding to dvContacts
I need to be able to identify the row# of the row containing glRecID = (value)
even though the dataview associated with cmContacts is in a different order.
Once I have the correct row# I can....cmContacts.Position = whatever that row is.
Next time a user scrolls, if they choose to, the cmContacts.position will be in
Correct me if I'm wrong....the value associated with cmContacts.Position is truly