GetChildObject

Description

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

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

Returns

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

Example 1

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