integer dataitem table?
vijaydidmca2003
Member Posts: 27
hi to all forum members.
as i am new with navision, so that i am very confused about the "integer dataitem table".
i have seen that this table is used in a lot of reports but still i don't know how to use it.
i don't know what is the main purpose of it.
1. when should i use the integer dataitem table.
2. why should i use this table.
:?:
your reply is deeply awaited.
as i am new with navision, so that i am very confused about the "integer dataitem table".
i have seen that this table is used in a lot of reports but still i don't know how to use it.
i don't know what is the main purpose of it.
1. when should i use the integer dataitem table.
2. why should i use this table.
:?:
your reply is deeply awaited.
0
Comments
-
You can use it when you want to repeat an action. Think of it as a FOR loop to be used in reports.
Ordinarily to repeat an action you would do something likeFOR i := 1 TO 100 DO BEGIN //Action to repeat END;
In a report you'll have an Integer data item. Everything indented under this item is like the "Action to repeat" in the code above. You'll "loop" on the Number field from the integer table. You can do this either with code,SETRANGE(Number, 1, TimesToLoop);
or you can use the DataItemTableView property to set you filters there. I like this last approach since you should already be in there to set the key so that Integer doesn't appear as a filterable table on the report.
Hope that helps.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 333 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
