Hi VG,

 

This is the same as the passing the standart tables. For ex, the name of
your  temp table is :

 

tmpCustBalances

 

a.       In the class decleration of report , declare temp table (you'll get
the record buffer to this table) :

 

TmpCustBalances _TmpCustBalances;

 

b.      In the init() method of the report, add this code :

 

Ýf(element.args() && element.args.record())                  // control the
parameters and set your temp table

                _tmpCustBalances = element.args.record();

 

 

You get the data now !! Also you must send the record to the report.

 

c.       If you call this report from menuitem, set DataSource propery of
menuitembutton  to temp table from the from.

c.       If you call this report from code, you must add
args.record(TmpCustBalances);

 

Regards,

 

Anil Ozay

MVP Dynamics AX

 

From: Axapta-Knowledge-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of V G
Sent: Sunday, January 06, 2008 6:21 PM
To: Axapta-Knowledge-Village@yahoogroups.com;
[EMAIL PROTECTED]
Subject: [Axapta-Knowledge-Village] Pass temporary table data from form to
report

 

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]

 



[Non-text portions of this message have been removed]



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.

Come and choose your preferred name for Microsoft Dynamics AX on the Axapta 
Knowledge Village, Visit www.axapta-knowledge-village.tk

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to