BUG: Error Calling Some Methods from OnDatasetComplete (190768)
The information in this article applies to:
- Remote Data Service for ADO 2.0
- Remote Data Service for ADO 2.1 SP2
- Remote Data Service for ADO 2.5
- Remote Data Service for ADO 2.6
This article was previously published under Q190768 SYMPTOMS
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."
CAUSE
Certain methods that may alter the data in a recordset are not allowed from
the ondatasetcomplete event handler.
RESOLUTION
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)
STATUS
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.
Modification Type: | Minor | Last Reviewed: | 3/2/2005 |
---|
Keywords: | kbBug kbpending KB190768 |
---|
|