Hi all,
I wonder how to pass in a parameter to the child datawindow?
I need to pass in a parameter for the dwc_drop_down, so it will retrieve the proper data according to the parameter.
Here is my script:
DataWindowChild dwc_drop_down
dw_project.getChild('project', dwc_drop_down)
dwc_drop_down.setTransObject(sqlca)
if dwc_drop_down.retrieve('Project') = 0 then
dwc_drop_down.insertrow(0)
end if
dwc_drop_down.insertRow(1)
dw_project.setTransObject(sqlca)
dw_project.retrieve()
dw_project.insertrow(0)
Thanks
I wonder how to pass in a parameter to the child datawindow?
I need to pass in a parameter for the dwc_drop_down, so it will retrieve the proper data according to the parameter.
Here is my script:
DataWindowChild dwc_drop_down
dw_project.getChild('project', dwc_drop_down)
dwc_drop_down.setTransObject(sqlca)
if dwc_drop_down.retrieve('Project') = 0 then
dwc_drop_down.insertrow(0)
end if
dwc_drop_down.insertRow(1)
dw_project.setTransObject(sqlca)
dw_project.retrieve()
dw_project.insertrow(0)
Thanks