2 level Date Filter
gulamdastagir
Member Posts: 411
hello,
A: I have a report which uses ReqFilterFields Property of the dataitem set to "Date Filter"
B: But in the DataItem-OnAfterGet Record Trigger have already set a series of 8 filters using DataItem.SETFILTER ().
C:when i run the report, "B" disturbs "A" leading to an Inaccurate Report.
D:Can "A" and "B" Coexist peacefully?
Thanks in Advance,
gd
A: I have a report which uses ReqFilterFields Property of the dataitem set to "Date Filter"
B: But in the DataItem-OnAfterGet Record Trigger have already set a series of 8 filters using DataItem.SETFILTER ().
C:when i run the report, "B" disturbs "A" leading to an Inaccurate Report.
D:Can "A" and "B" Coexist peacefully?
Thanks in Advance,
gd
Regards,
GD
GD
0
Comments
-
Save the filter in "Date Filter" in a variable in the "OnPreReport". So you can restore the "Date Filter" to the filter the user wanted when needed.
BTW : DataItem.SETFILTER (): you mean other fields or the same field. If it are other fields:no problem.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
You need to use different FilterGroups for A and B and they won't interfere with each other.0
-
Not in this case, because it is a filter. So it is for filtering records to calculate flowfields.ara3n wrote:You need to use different FilterGroups for A and B and they won't interfere with each other.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Use a different record to copy the filters to and use it to calculate the values.0
-
kriki Posted: Wed Sep 06, 2006 7:50 am Post subject:
Save the filter in "Date Filter" in a variable in the "OnPreReport". So you can restore the "Date Filter" to the filter the user wanted when needed.
BTW : DataItem.SETFILTER (): you mean other fields or the same field. If it are other fields:no problem
Thanks Rashed and Special Thanks to KrikiRegards,
GD0
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
- 323 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
