Gets the reference to a child object for a Web ActiveX DataWindow.
DataWindow type |
Method applies to |
---|---|
Web ActiveX |
DataWindow control |
OleObject dwcontrol.GetChildObject ( )
Argument |
Description |
---|---|
dwcontrol |
A reference to the DataWindow control or DataStore that contains the child DataWindow or report |
Returns an object that is the DataWindowChild or report. If no object is found, a null object reference is returned.
You must call GetChild before you call GetChildObject.
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);