Hi John,

Thanks for the explanation. It's given me a little more fundamental
understanding of how to get things done.

One further matter:

What code should I implement in the bookRefresh method to get the parent
form to update.

I've tried
    - parent_ds.refresh();
    - parent_ds.refreshEx();
    - parent_ds.reread();
    - parent_ds.research();

I've managed to get a work-around of
    - parent_ds.reread() followed by
    - control.enter(); (control is the control which displays the data
updated by the child form).

Kindest regards,

Christoph Malherbe

>From: Hans-Walter Bous <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: RE: [development-axapta] Parent/child forms and updating of parent
>data by child form's functionality
>Date: Mon, 21 Nov 2005 11:28:43 +0100 (CET)
>
>Hi Christoph,
>   in your child form you should do somethin like this:
>   1) ClassDeclaration
>      Object     callerForm;
>   2) INIT
>      callerForm = this.args().caller();
>   3) where you need it:
>      callerForm.bookRefresh();
>   And of course in your caller form you must have a methode bookRefresh().
>   Greetings
>   John
>
>cdlmalherbe01 <[EMAIL PROTECTED]> schrieb:
>   Hi all,
>
>I have a child form which is launched using a menu item button located
>on the parent form. The child form's functionality may update the
>current record on the parent form.
>
>How does one refresh the parent form's datasource only after the child
>form has been dismissed?
>
>Any reference to an example in Ax/anywhere else will be most helpful.
>
>Regards,
>
>Christoph.
>
>
>
>
>
>
>
>
>   SPONSORED LINKS
>         Computer part   Programming languages   Microsoft axapta    
>Support exchange
>
>---------------------------------
>   YAHOO! GROUPS LINKS
>
>
>     Visit your group "development-axapta" on the web.
>
>     To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>
>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
>---------------------------------
>
>
>
>
>
>
>H.W. Bous
>
>
>---------------------------------
>Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher
>
>[Non-text portions of this message have been removed]
>
>
>
>

_________________________________________________________________
Use Dynamic Backgrounds and send Voice Clips - MSN Messenger - FREE
download. http://messenger.msn.co.za?DI=1054&XAPID=2532





SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to