Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NESTED REPORT

Status
Not open for further replies.

lolo327

Programmer
Nov 25, 2003
14
GB
Hi,

I have a DW that contains a nested report that can contain a nested report, ....
I do not know how many reports are nested.
I would like to create a recursive function to access each report. I can not use here a dot notation (I do not see how I could).

So, have you an idea on How to do this ?

The aim is to reach some columns in each report to translate them.

It works fine for the first report but the other contained in the first one do not work.

Thanks for your help

Lolo327
 
I believe the nested reports act as a child in a nested report and you can access it via a dw_1.GetChild()
 
Hi,
Thanks for your reply

It works with GetChild for the first item.

But my problem is not the first one.
The problem comes with the second one because a datawindowchild does not accept GetChild() Method.

So i have something like that.

MyDw.GetChild("NestedColumn",ldwc)

But I need to know if the nested has also nested. The way I saw is:
ldwc.Describe("Datawindow.Nested")
But ldwc does not suport this method !

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top