BUG: Error Calling Some Methods from OnDatasetCompleteID: Q190768
|
When calling certain recordset methods from the ondatasetcomplete event handler for that recordset, a run-time error message will appear that states, "RDS has made an event call back to the consumer and has not yet returned."
Certain methods that may alter the data in a recordset are not allowed from the ondatasetcomplete event handler.
Do not attempt to make changes to the recordset until the event handler has returned. One way to delay making changes is with the setTimeout method of the window object, for example:
window.setTimeout("myRS.addImmediate(fields, values)", 10)
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
Methods that are not allowed in an ondatasetcomplete event handler because they change the recordset are: addImmediate, addRecord, deleteRecord, requery, updateRecord.
Additional query words:
Keywords : kbADO kbVisID600bug kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 24, 1999