Hi,
just to make sure you does not get a stack trace at runtime you should check if the Method exists on the caller object. Object fr ; Table tt; // fr = element.caller(); If (formHasMethod(fr,identifierstr(updateControls)) // formHasMethod is implemented in Global. tt = fr.retmethod(); Mit freundlichen Grüßen / Best regards / Med venlig hilsen Jesper Jørgensen / Abt. NMT-XD Senior Product Manager arvato systems | Technologies GmbH An der Autobahn 18 33311 Gütersloh [EMAIL PROTECTED] <blocked::blocked::blocked::mailto:[EMAIL PROTECTED]> Phone: +49 5242 / 40 80 54 Fax: +49 5242 / 40 80 40 Mobile: +49 172 / 571 03 34 http://www.as-T.biz <blocked::blocked::http://www.as-t.biz/> arvato systems | Technologies GmbH Joachim-Jungius-Str. 9, 18059 Rostock Geschäftsführung: Erwin Pietz, Matthias Moeller Amtsgericht Rostock - HRB 7497 ________________________________ "Der Inhalt dieser Nachricht oder eventueller Anlagen ist vertraulich und ausschließlich für den bezeichneten Adressaten bestimmt. Bitte stellen Sie sicher, dass die Information in dieser Nachricht ausschließlich an die adressierten Personen gelangt. Sollte diese Nachricht versehentlich an Sie gesendet worden sein, dann informieren Sie bitte umgehend den Absender und löschen Sie die Nachricht. Vielen Dank." "The information in this e-mail and any attachments is confidential. The information must only be held in areas that have controlled and limited access to the addressed persons. If this e-mail has been sent to you in error, please immediately notify the sender and delete the e-mail. Thanks." ________________________________ ________________________________ Von: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von naushad basha Gesendet: Mittwoch, 9. Januar 2008 05:53 An: development-axapta@yahoogroups.com Betreff: Re: [development-axapta] Pass temporary table data from form to report Hi, steps are as follows 1- write a method which returns the temp table, at the form level(of the calling form) say the name of the method is retmethod() 2- in the report, access the caller form object with the following code. Object fr ; Table tt; // fr = element.caller(); // this will return the formrun object of the caller form. tt = fr.retmethod(); // this line will call the method (retmethod) on the form(Dont worry about the intellisence becz the intellisense will not show the method retmethod() as the object fr is of type Object and not formrun that it will validate. so in tt you will get the whole of the temptable. this code is tested and should work :) Hope this helps buddy regards Naushad. V G <[EMAIL PROTECTED] <mailto:learnaxapta%40gmail.com> > wrote: Hi I have a form where I insert data in a temporary table. >From the form a report is called on the click of a menuitembutton. Is there a way that I can retreive the data of the temporary table(which is created in the form) in the report. Thanks in advance VG [Non-text portions of this message have been removed] --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]