Change The Child Datawindow Object Dynamically in Powerbuilder
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
//Change datawindow child object Datawindow.Modify("column_name.DDDW.Name=dddw_child_new") // Setting display column Datawindow.Modify("column_name.DDDW.DisplayColumn='Short_name'") // Setting data column Datawindow.Modify("column_name.DDDW.DataColumn='Number'") DataWindowChild ldwc_child Datawindow.Getchild("column_name",ldwc_child) ldwc_child.Settransobject(SQLCA) ldwc_child.Retrieve() ldwc_child.Reset() |
Good Luck!
Subscribe
Login
0 Comments
Oldest