Sorry for the confusion, what I meant by GetChild() not working is if you
are using 'nested' datawindows. I think the TS is asking about that.
On Fri, Jul 10, 2009 at 4:46 PM, Patrice Domange
<patrice.domange@...>wrote:
>
>
> I'm sorry but the GetChild() function do work for both dddw & nested
> datawindow in report dw.
> The sample in the previous response will work, you will have to just
> consider that the ldwc_child will reference either a dddw or a nested dw
> depending on the case, thats all!
>
> ________________________________
> De : Arman Porciuncula <armanporkypb@... <armanporkypb%40gmail.com>>
> À : PowerObject@yahoogroups.com <PowerObject%40yahoogroups.com>
> Envoyé le : Jeudi, 9 Juillet 2009, 5h42mn 18s
> Objet : Re: [PowerObject] capturing the value of nested datawindow
>
> Hi,
>
> GetChild() will work for you if the child dw is a dddw. But if it is a
> report dw (composite), it won't return the child dw. If that's the
> case, you could only do dot notation to get your desired data.
>
> Try looking this up from PB help:
> "Nested DataWindow object property"
>
> On 7/6/09, Heiko Betzler <h.betzler@evo- solutions. com> wrote:
> >
> >
> > 1. Get the child datawindow of which you want to get a value --> with
> > GetChild(ls_ NestedDWName, ldwc_Child)
> > 2. ldwc_Child.GetItemS tring(1, "")...
> >
> > Best Regards
> > H.
> >
> >
> >
> >
> > ____________ _________ _________ __
> >
> > From: PowerObject@ yahoogroups. com
> > [mailto:PowerObject@ yahoogroups. com] On Behalf Of Santosh Tripathi
> > Sent: Monday, July 06, 2009 2:30 PM
> > To: PowerBuilder
> > Subject: [PowerObject] capturing the value of nested datawindow
> >
> >
> >
> >
> >
> > Dear Gurus ,
> > i want to capture the value of nested datawindow . please
> > suggest me the way
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
>
> --
> Arman Porciuncula
>
> [Non-text portions of this message have been removed]
>
>
>
--
Arman Porciuncula
[Non-text portions of this message have been removed]