簡體   English   中英

d365 中 ssrs 報告中 tempDB 表上的 update_recordset

[英]update_recordset on tempDB table in ssrs report in d365

report中插入tempDB table后,我必須對某些字段進行更新。

我寫了這個片段:

private void updateField()
{
   update_recordset GlobalTempDBVariable
   setting field3 = GlobalTempDBVariable.field1 + GlobalTempDBVariable.field2;
}

但是當我打開報告時,我沒有看到這個值更新。 有什么幫助嗎?

你有沒有調試過這個問題?

如果您在 DP class 而不是 SRSReportDataProviderBase 中擴展 SrsReportDataProviderPreProcess ,您可以調試您的 DP class 並查看表格是否被正確填充。

如果這不能清除任何內容,請嘗試在該點循環遍歷臨時表以查看其中是否有任何數據要更新。

親切的問候,

瑞典人

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM