M
MadCrazyNewbie
Hey Group,
I keep getting the following Error and its driving me nuts now.
"An unhandled exception of type 'System.IndexOutOfRangeException' occurred
in system.data.dll
Additional information: There is no row at position 1."
it keeps erroring on this line:
Private Sub dsPasswordlist_PositionChanged()
If Me.BindingContext(dsPasswordList, "PasswordList").Position <> -1 Then
Me.cboPasswordListsDepartment.SelectedValue =
dsPasswordList.PasswordList.Rows(Me.BindingContext(dsPasswordList,
"PasswordList").Position).Item("DepartmentID")
End If
End Sub
Anybody got any Ideas?
Many Thanks
Si
I keep getting the following Error and its driving me nuts now.
"An unhandled exception of type 'System.IndexOutOfRangeException' occurred
in system.data.dll
Additional information: There is no row at position 1."
it keeps erroring on this line:
Private Sub dsPasswordlist_PositionChanged()
If Me.BindingContext(dsPasswordList, "PasswordList").Position <> -1 Then
Me.cboPasswordListsDepartment.SelectedValue =
dsPasswordList.PasswordList.Rows(Me.BindingContext(dsPasswordList,
"PasswordList").Position).Item("DepartmentID")
End If
End Sub
Anybody got any Ideas?
Many Thanks
Si