I have a datawindow with a dropdowndatawindow (datawindowchild). I want to change the dataobject of the dropdowndatawindow base on if their is some data in a table. I try the following but PowerBuilder tells me invalid property.
//cch declare the datawindowchild
DataWindowChild dwc_eeo
//cch get the datawindowchild from the datawindow
dw_1.GetChild("eeo_code", dwc_eeo)
//cch trying to change dataobject to the dwc
dwc_eeo.dataobject = 'd_test' (Incompatible Property dataobject for type datawindowchild)
dwc_eeo.SetTransObject(sqlca)
//CCH CALL THE PFC_POPULATEDDDW
dw_1.event pfc_populatedddw( 'eeo_code',dwc_eeo)
We are using Appeon PowerBuilder 2019 R3 Build 2728.
Any advise would be greatly appreciated.
Regards,
Clarence.