Displaying Header/Footer always

Bokk
Member Posts: 138
I have created a basic report to show Projected Revenue. It has 2 dataitems - one to check the journal table and one to check the ledger table. The header section is associated with the journal table and Footer section is associated with the ledger table. Seemingly, because of this, if there are no journal entries, the header doesn't show and if no ledger entries, the Footer doesn't show. I have set PRINTONLYIFDETAIL (dataitem)property to No and PRINTONEVERYPAGE (section) to Yes, but this hasn't worked.
Thanks for any suggestions!
Thanks for any suggestions!
SGM
0
Comments
-
Add new data item: Integer before your data items, set your data item ident to 1. Set property (on Integer data item) DataItemTableView=SORTING(Number) WHERE(Number=CONST(1)).
Place header and footer on the new data item.0 -
Thanks, that worked.
For clarification, how does the integer dataitem work in that you set the following property: (ie. Number =CONST(1))
DataItemTableView=SORTING(Number) WHERE(Number=CONST(1))
Under what conditions would it be set differently?
Thanks again!SGM0 -
Hi,
The Integer dataitem is a view to one of the Virtual Tables in Navision.
It only has one field, the Number field and it can hold all the possible integer values that Navision can handle.
So if you do not set a filter on the number field the dataitem will ittirate through the entire Integer table (from -2,147,483,647 to 2,147,483,647)
In most cases you don't need this so you must specify a filter.
A filter which you can place instead of just (1) is for example when you want to itteratie through a table by Code and not by DataItem. Then you place a filter from 1 to the count of the record variable you want to itterate.
I hope this helps.
RegardsNow, let's see what we can see.
...
Everybody on-line.
...
Looking good!0 -
Hi
Isn't usage of TransHeader and TransFooter a better idea ????
Regards
Jyotsna______Doubt is the father of Invension_______0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 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