1. Andrew Davis
  2. PowerBuilder
  3. Friday, 13 April 2018 09:34 AM UTC

Can anyone tell me is it possible to have a composite datawindow with sub reports ( i think thats what they are called ) - connecting to different databases ?

My app has SQLCA and then another transaction objec SQLCR - I want to add a subreport that access the SQLCR while the rest of the data comes from SQLCR

 

thanks in advance 

 

Andrew

René Ullrich Accepted Answer Pending Moderation
  1. Friday, 13 April 2018 10:06 AM UTC
  2. PowerBuilder
  3. # 1

Yes, I think it should be possible.

You have to call GetChild for each nested report to get a reference to the datawindow child. Using this reference you can call SetTransobject and Retrieve for each report.

Comment
There are no comments made yet.
Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Friday, 13 April 2018 20:44 PM UTC
  2. PowerBuilder
  3. # 2

Hi Andrew,

 

As René said. You may find more info here: https://www.appeon.com/system/files/product-manual/datawindow_programmers_guide_0.pdf on page 32.

 

 

Regards,

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.