- Clarence Chamorro
- PowerServer 2020 or older (Obsolete)
- Thursday, 3 November 2022 05:37 PM UTC
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.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.