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.
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.
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.
Comments
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
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