Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Temporray Table

(0) ShareShare
ReportReport
Posted on by 3,099

Hi

  What is the difference between Temporary table and Integer DataItem in Reports.

Thanks

*This post is locked for comments

  • Verified answer
    Ghetz Profile Picture
    2,999 on at
    RE: Temporray Table

    Read this:

    www.dynamics101.com/temporary-datasets-reports-dynamics-nav-2013-r2

    It's not about the difference, it's about when to use each of them. Temp is for data storage and Integer DataItem is for looping and counting.

  • Verified answer
    4BzSoftware Profile Picture
    6,073 on at
    RE: Temporray Table

    Hi jsshivalik,

    1. A temporary table is a temporary variable that holds a table. A temporary table is used as a buffer for table data in your C/AL programs. You can use a temporary table just like you use a database table. The differences between a temporary table and a database table are as follows:

    - A temporary table is not stored in the database, but is only held in memory until the table is closed.

    - The write transaction principle that applies to a database table does not apply to a temporary table.

    Advantage of a Temporary Table:

    - The advantage of using a temporary table is that all the interaction with a temporary table occurs on the client. This reduces the load on both the network and the server.

    - When you want to perform many operations on the data in a specific table in the database, you can load the data into a temporary table when you modify it. Loading the data into a temporary table speeds up the process because all the operations are performed locally on the client.

    2. The Integer virtual table includes integers in the range –1,000,000,000 to 1,000,000,000. The Integer virtual table contains only one field. By applying a filter to the Integer virtual table, you can easily get a subset or range of numbers that can be used to control looping in reports.

  • Verified answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Temporray Table

    I add only that Temporary tables are created in memory as empty tables and the object is disposed at the end of your usage.

  • Verified answer
    Muratvzr Profile Picture
    743 on at
    RE: Temporray Table

    Temporary Table is a table which filled by you, You should gather some data from other tables.

    Integer is using general for Looping I suggest you to look some standart reports.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans