Click to return to the DHTML, HTML     
ondatasetchanged Event     ondblclick Event     DHTML Events    
Web Workshop  |  DHTML, HTML & CSS

ondatasetcomplete Event


Fires to indicate that all data is available from the data source object.

Syntax

Inline HTML<ELEMENT ondatasetcomplete = "handler" ... >All platforms
Event propertyobject.ondatasetcomplete = handlerJScript (compatible with ECMA 262 language specification) only
Named script<SCRIPT FOR = object EVENT = ondatasetcomplete>Internet Explorer only

Remarks

BubblesYes
CancelsNo
To invoke Allow data set change to complete.
Default action Sets the reason property of the event object to one of three values, indicating the reason for completion:
  • 0 Data transmitted successfully.
  • 1 Data transfer aborted.
  • 2 Data transferred in error.

This event originates from data source objects.

Event Object Properties

Although event handlers in the DHTML Object Model do not receive parameters directly, the handler can query the event object for data.

Event Object Properties

bookmarksReturns a collection of ADO bookmarks tied to the rows affected by the current event.
boundElementsReturns a collection of all elements on the page bound to a dataset.
cancelBubbleSets or retrieves whether the current event should bubble up the hierarchy of event handlers.
dataFldSets or retrieves which field of a given data source (as specified by the dataSrc property) to bind to the given object.
qualifierRetrieves the name of the recordset provided by a data source object.
reasonRetrieves the result of data transfer for a data source object.
recordsetRetrieves a reference to the default recordset from a data source object.
srcElementRetrieves the object that fired the event.
typeRetrieves the event name from the event object.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
APPLET, OBJECT, XML

See Also

Data Binding, ondataavailable, ondatasetchanged



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.