0 Replies Latest reply on Oct 7, 2005 4:24 PM by 9516

    Problems to make ORADC and DBGrid work together

    9516
      I have some problems to make ORADC and DBGrid work together.

      The code I execute when I have to go from a record to another in the grid is (This operation corresponds to the validation):

      Private Sub Oradc1_Validate(Index As Integer, Action As Integer, Save As Integer)
           ...
           ...
           ...
           if (condition) then
      Action = vbDataActionCancel
      Exit Sub
      End If
           ...
           ...
      End Sub

      If the “condition” is satisfied, the control ORADC remains still in the old record, whereas the mouse goes unexpectedly to the new one.

      Any help would be much appreciated.