I have a bound form using a DataControl.
I need to be able to click a button and delete the current record and then move to the next record (or the previous record if there is no next record)
When I try:
I get error # 3426 reading: This action was cancelled by an associated object.Code:Private Sub Command2_Click() Data1.Recordset.Delete Data1.Recordset.MoveNext End Sub
How can I make this work?
Thanks!




Reply With Quote