Run-time error '3426'
Posted on 1997-11-10
My project has a data control with several currency fields displayed. When the record changes or one of the fields change, a subroutine is fired which recalculate the sum of these fields. The run-time error occurs when I use the delete method to remove a record and then use the MoveNext or MovePrevious command. The error message says "This action was cancelled by an associated object." Pressing the Help button gives a message stating that there is no documentation of this error. If I remove the Move command and use only delete, I can't change records using the data control. The only was I can get it to work at all is to use the Refresh method after the delete command but this resets the recordset back to the first record which is not what I want it to do. I'm using VB 5.0 and this is an upgrade of a version of the same program that worked fine in VB 3.