i am using the following code to save after modifying a record :
Private Sub Command4_Click()
Command1.Enabled = True
Command6.Enabled = True
Command2.Enabled = True
Command3.Enabled = True
Command4.Enabled = False
Command5.Enabled = False
Data1.Recordset.Update
Data1.Recordset.MoveFirst
Call DISABLEALL
End Sub
after that the msg appeared : the action was cancelled by associated object
and it highlighted : Data1.Recordset.Update
any body?




Reply With Quote