hi, i tried all combinations possible, i get the hasErrors to work only when there is more than 1 record in tb1. for the first record i add and press save, it goes into msgbox no. how can i refresh or somthing?
Private Sub Save(ByVal e As Object, ByVal er As EventArgs) Handles mySave.Click
CompareTwoGridsForEquality()
CompareCompleteness_of_grid2()
checkCompletenessOfallRowsInGrid1()
If Me.ds.Tables(Me.tb1name).HasErrors Then
MsgBox(
"yes")
Else : MsgBox("no")
End If
End Sub