最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

[转]Microsoft Dynamics AX how to fetch data from temporary table

AX 2009 William 1863浏览 0评论

    原文地址:http://blog.vinaysingh.in/2011/03/fetch-data-from-temporary-table.html

    Question:How to fetch data from a temporary table using query.

    Solution:We can understand the concept from the following example-

    //Populate the temporary table(tempTable)
    //Set the range  values on tempTable
    qr = new QueryRun(query);
    
    //Add this line while  fetching the data from a temporary  table
    qr.setCursor(tempTable);
    
    while(qr.next())
    {
        tempTableObject=qr.get(tableNum(TemporaryTable));
        //do  something..
    }

转载请注明:ww12345678 的部落格 | AX Helper » [转]Microsoft Dynamics AX how to fetch data from temporary table

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址