Private Sub CompanySelectionPicker_ItemSelected _ (ByVal sender As Object, _ ByVal e As OakLeaf.MM.Main.Windows.Forms.mmPickerItemSelectedEventArgs) _ Handles CompanySelectionPicker.ItemSelected ' Find the position of the primary key selected in the Picker Dim companyIdSelected As Integer = _ CInt(e.dsSelectedItems.Tables.Item(0).Rows(0).Item("CompanyId")) Try Me.oCompany.GetCurrentDataSet.Tables("Companies").Rows.Find(companyIdSelected) ' HOW DO I GET THE INDEX OF THIS PK VALUE FOUND IN THE DATASET????? ' Assign the index of the value found in the Current DataSet ' TODO Replace hardcoded companyIdSelectedIndex value with the index of the primary key value found previously Dim companyIdSelectedIndex As Integer = 2 ' Use the form's BindingContext object to set the position Me.BindingContext _ (CompanyDataset, CompanyDataset.Tables(0).TableName). _ Position = companyIdSelectedIndex Catch ex As Exception End Try End Sub