temp table

how to add two tables in one single temptable ?

May I know the requirement please?

i have two tables salesmandetails and orderdetails .now i wan to add specific fields from both table to the temptable and then wan to show that temptable in the grid

http://dynamicsuser.net/forums/t/41777.aspx

i m still confusd bro…can u write code over here

OrderDetails _OrderDetails;
OrderDetails custTmpLedger;
SalesmanDetails _SalesmanDetails;
;

custTmpLedger.data(_OrderDetails.data());

custTmpLedger.doInsert();
custTmpLedger.data(_SalesmanDetails.data());
custTmpLedger.doUpdate();
grid.dataSource(tablenum(custTmpLedger));

i am trying this bt there is an error

I think the topic is related to AX not NAV…

Kunal: Please check the forum where you are posting from next time…

http://msdn.microsoft.com/en-us/library/bb314749.aspx

http://www.axaptapedia.com/index.php?title=Temporary_tables

how can i show temtable in grid?