GetChildObject

Description

Gets the reference to a child object for a Web ActiveX DataWindow.

Obsolete method

GetChildObject is obsolete and should not be used, because the DataWindow Web Control for ActiveX technology is obsolete.

Applies to

DataWindow type

Method applies to

Web ActiveX

DataWindow control


Syntax

Web ActiveX

OleObject dwcontrol.GetChildObject ( ) 

Argument

Description

dwcontrol

A reference to the DataWindow control or DataStore that contains the child DataWindow or report


Return value

Returns an object that is the DataWindowChild or report. If no object is found, a null object reference is returned.

Usage

You must call GetChild before you call GetChildObject.

Examples

The following example displays the reference to the child object in a message box:

var ls ;
var ldwc;
window.dw_1.GetChild ("dept_id"); 
ldwc = window.dw_1.GetChildObject();
ls = ldwc.Describe ("Datawindow.Table.Select");
window.alert(ls);

See also

GetChild