Skip to Content
0

i am having problem with GetChild statement ,it return -1 code

Jan 30, 2017 at 06:56 PM

98

avatar image

Datawindowchild lwd_c

int return_cd

return_cd=dw_1.GetChild('trans_desc', lwd_c)

The above statement return -1, means it failed.

any one know the solution , please respond

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

René Ullrich Jan 31, 2017 at 07:08 AM
0

Please provide more information.

Is "trans_desc" a column or a report? If it is a report: What kind of datawindow is the master datawindow (in dw_1)?

What kind of datawindow is the child (in "trans_desc")?

Share
10 |10000 characters needed characters left characters exceeded
Aron Cox Feb 07, 2017 at 12:03 PM
0

Try the suggestion here: https://www.experts-exchange.com/questions/28011536/PowerBuilder-11-5-Nested-Reports-on-Datawindow-and-GetChild.html

Datawindow,Processing needs to be 5 for GetChild to work, and I guess that is your issue.

Share
10 |10000 characters needed characters left characters exceeded