Double Date Filter in Report

wires100
Member Posts: 4
Hello, i am new in Forum and I need help.
Report 111 (customer Top 10 list),
I need a list from customer- with 2 date filter:
I search all customers, have buy e.g. 01.01.05..01.12.10 (filter1 - is ok, i have this field (Date)), and this customers have not buy e.g. 01.01.09..31.12.09 (filter2)
what I need? how can I programming this Filter and where? OnAfterGetRecorg() ? Which DataItem?
Thanks for Your Help
Sorry for my English.
Report 111 (customer Top 10 list),
I need a list from customer- with 2 date filter:
I search all customers, have buy e.g. 01.01.05..01.12.10 (filter1 - is ok, i have this field (Date)), and this customers have not buy e.g. 01.01.09..31.12.09 (filter2)
what I need? how can I programming this Filter and where? OnAfterGetRecorg() ? Which DataItem?
Thanks for Your Help
Sorry for my English.
0
Comments
-
If I understand correctly, you want to skip all customers that bought something in 2009.
In that case you can use a variable of record Customer in Customer.OnAfterGetRecord and set a datafilter (filter2) on that record for the current customern. Than calc the sales and balance amounts. If <>0 then Skip customer.0 -
Hello,
Thank you for your help/Tip.
i want to show all customers that not bought (anything/something?) in 2009.
I have all customer Filter (date filter) 01.01.03.. 31.12.2010, and i want second filter with this list, where i show customers that not bought e.g . 01.01.09..31.12.09.
Should i set variable Datefilter2 (date) on that record for current customer? Than calc the sales and balance amounts for 01.01.09..31.12.09 . If =0 then show customer.
How can user change this? not 01.01.09..31.12.09 but 01.06.10..09.10.10?
With this Variable? and Filter in option?
Thanks0 -
Maybe you can try this with another DataItem.
Customer [datefilter 1]
--Customer [datefilter 2] - DataLink [No. = No.]
So you can variable filter both values.
The output should be printed in the second DataItem. DataItem 1 is just for pre filter the customer.
Regards,
egnaz0 -
Hallo Egnaz,
(Danke für Deine Antwort).
Thanks for your answer. I Try This Idea.
Gruß
With Regards
Wires1000
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