Search the web
Sign In
New User? Sign Up
PowerObject · PowerBuilder / PFC Developers' Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
capturing the value of nested datawindow   Message List  
Reply | Forward Message #26619 of 27010 |
Re: Re : [PowerObject] capturing the value of nested datawindow

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]




Sat Jul 11, 2009 8:28 am

ArmanPorky
Offline Offline
Send Email Send Email

Forward
Message #26619 of 27010 |
Expand Messages Author Sort by Date

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]...
Santosh Tripathi
skrtripathi
Offline Send Email
Jul 6, 2009
12:23 pm

1. Get the child datawindow of which you want to get a value --> with GetChild(ls_NestedDWName, ldwc_Child) 2. ldwc_Child.GetItemString(1, "")... Best Regards ...
Heiko Betzler
h.betzler@...
Send Email
Jul 6, 2009
12:50 pm

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...
Arman Porciuncula
ArmanPorky
Offline Send Email
Jul 9, 2009
3:43 am

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...
Patrice Domange
patrice.domange
Offline Send Email
Jul 10, 2009
8:47 am

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,...
Arman Porciuncula
ArmanPorky
Offline Send Email
Jul 11, 2009
8:29 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help