Options

Navision Integer

TcrawfordTcrawford Member Posts: 12
As a relatively new programmer in Navision, I have run across the Integer table in some reports, Can someone please tell me what this is and how it is populated.

Any help will be appreciated :shock:

Comments

  • Options
    g_dreyerg_dreyer Member Posts: 123
    Look at the report where you have seen it.

    It is commonly used for a copy section in a report.
    Integer table is a system table, just like Date, etc.
    Because it a system table, Navision takes care of what is in there.

    Regards,
    gus
  • Options
    WaldoWaldo Member Posts: 3,412
    Integer tables are used when you have to have to loop certain things in a report for a predefined number of times. For instance, when you need a

    FOR i:=0 TO 10 ...

    in a report to have the "OnAfterGetRecord"-trigger available for your code ... then you use an integer element. The integer element is a (virtual) table with one field ("number"), which you can filter ... in this case you filter that field like this: "1..10" (dataitemtableview-property).

    Indeed, the integer-elements are commonly used for copyloops, because this way you can define how many times you print a certain report.

    Hope this is clear enough... .

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Options
    TcrawfordTcrawford Member Posts: 12
    Thank you for your help, I have a clearer picture now. :D
Sign In or Register to comment.