web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Data is not there in Regular table in SSRS report

(0) ShareShare
ReportReport
Posted on by 30

Dear All,

Can you please let me know i have developed one SSRS report which is calling form multiple forms. The report output is same for all.

I took Table type  = Regular for SSRS report. So, i set table property

Table type : regular

Created by  = Yes

Create Transaction Id = Yes

And in DP class in processReport method : i add 

Table.setConnection(this.parmUserConnection());

Report is working fine.

But i surprised after executing report when i saw the table it's BLANK. why ???

Could you please let me know why data is not there after executing report ?

Please give me more shed on this.

Thanks!

*This post is locked for comments

I have the same question (0)
  • Sukrut Parab Profile Picture
    71,710 Moderator on at

    Any reason for going with regular table and not with temp table ?

  • Verified answer
    Jie G Profile Picture
    on at

    Hello @rp@n

    It is recommended to use a temporary table rather than a regular table for RDP reports. The reason is that with a temporary table, each report instance gets a different table instance, and therefore will only see whatever data the report instance adds to the temp table.  No data cleanup is needed if the report uses a temporary table.

    If an RDP report were using a regular table, then all report instances are getting data from the same table instance, which can lead to problems such as data added by one report instance remaining behind and affecting subsequent report instances, or multiple instances of the report RDP class trying to update the single table instance at the same time.

  • Verified answer
    Jie G Profile Picture
    on at
    Hello @rp@n,
    I see you mean Pre processing reports using Regular table and RDP class which is extends with SrsReportDataProviderPreProcess.
    Once the report is being generated, it'll automatically deletes the records in regular table using the field CreatedTransactionId.
    You can see the business logic in the "SrsReportRunRdpPreProcessStrategyRegular" class.
    5707.1.png
  • @rp@n Profile Picture
    30 on at

    Thanks Ada ding,

    So, that is the reasons i am not getting data in to Regular table after executing report. Right?

    Please give me more shed on this

    Thanks!

  • @rp@n Profile Picture
    30 on at

    Dear Ada,

    The reason to using Regular table is when i set Table type  = "In Memory" and execute the report. It's not throwing any error and executing well but report is not displaying any data but in Regular table i got data...

    2018.P1.png

    DP Class  i extended by "extends SRSReportDataProviderbase"

    I cleared caches from Tool > Cache... and Refresh dataset in VS and Rebuid and deploy...

    But it's not showing data in report.

    Could you please let me know how to resolve this issue.

  • @rp@n Profile Picture
    30 on at

    Hi All,

    If i set Table type = "Temp DB" then i am getting below error

    8787.p5.png

    Form > Clicked method > Line 22

    8787.p5.png

    @ I restart Report services too.

    Please give me more shed on this.

  • Verified answer
    Jie G Profile Picture
    on at

    Hello @rp@n,

    Once the report is being generated, it'll automatically deletes the records in regular table using the field CreatedTransactionId. Yes, That's the reason you are not getting data in Regular table after executing report.

  • @rp@n Profile Picture
    30 on at

    Thanks Ada,

    Shall i go for Regular table ?

    Thanks!

  • Verified answer
    Sukrut Parab Profile Picture
    71,710 Moderator on at

    I think  you should go ahead with temp table and figure out a way to overcome the stack trace error you posted earlier. There is definitely something wrong with your code which is causing stack trace error.

  • @rp@n Profile Picture
    30 on at

    Thanx Sukrut,

    Will try to find out the solution.

    But could you please let me know the exact reason for NOT to use REGULAR table. Why???

    If we used regular table then what will happened?

    What is the benefit of using Temp DB or In Memory table?

    Kindly elaborate me.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans