Hi all,
I'm trying to share data between 2 datawindows. The Child datawindow that I'm getting is a nested report in a DW that I use to print. They are both the same datawindow, d_print_estimate_detail. GetChild keeps returning -1. Here's my code for the print button:
DataWindowChild ldwc_PrintEstimate
integer li_rc
li_rc = dw_PrintEstimate.GetChild("d_print_estimate_detail", ldwc_PrintEstimate)
MessageBox("GetChild", li_rc)
ldwc_PrintEstimate.SetTransObject(sqlca)
li_rc = dw_10.ShareData(ldwc_PrintEstimate)
MessageBox("Share Data", li_rc)
TIA,
Tracy