How can I access an object in a DWObject having its name ?
Here is a little piece of code. dw_list is a Datawindow and dw_2 is a nested report in the datawindow.
//-----------------------------------
String ls_StringObjects
String ls_ListObjects[]
DWObject ldwo
ldwo = dw_list.Object.dw_2
ls_StringObjects = ldwbject.DataWindow.Objects
lnv_CstString.of_ParseToArray (ls_StringObjects,"~t",ls_ListObjects[])
//------------------------------------
After this, ls_ListObjects[] is an array that contains all the name of the objects that are in dw_2.
example :
ls_ListObjects[1] = "t_1"
ls_ListObjects[2] = "dw_3"
ls_ListObjects[3] = "t_2"
How can I access the properties of dw_3 ?
Tips : I can not use the "describe" method because dw_2 is a DWObject and not a Datawindow.
Here is a little piece of code. dw_list is a Datawindow and dw_2 is a nested report in the datawindow.
//-----------------------------------
String ls_StringObjects
String ls_ListObjects[]
DWObject ldwo
ldwo = dw_list.Object.dw_2
ls_StringObjects = ldwbject.DataWindow.Objects
lnv_CstString.of_ParseToArray (ls_StringObjects,"~t",ls_ListObjects[])
//------------------------------------
After this, ls_ListObjects[] is an array that contains all the name of the objects that are in dw_2.
example :
ls_ListObjects[1] = "t_1"
ls_ListObjects[2] = "dw_3"
ls_ListObjects[3] = "t_2"
How can I access the properties of dw_3 ?
Tips : I can not use the "describe" method because dw_2 is a DWObject and not a Datawindow.