Setfilter in Date range
navuser1
Member Posts: 1,334
Hi All,
Please Share your knowledge...
I have Table A and it has a Field Date.
How to use SETFILTER function
if the Date Range is 18/10/08|20/10/08 OR 18/10/08..20/10/0/|29/10/08.
Please Share your knowledge...
I have Table A and it has a Field Date.
How to use SETFILTER function
if the Date Range is 18/10/08|20/10/08 OR 18/10/08..20/10/0/|29/10/08.
Now or Never
0
Comments
-
Try
SETFILTER("Field in table",'%1..%2',FromDate,ToDate);0 -
merril wrote:Try
SETFILTER("Field in table",'%1..%2',FromDate,ToDate);
Suppose Table A is a dataitem of any report and Date is the ReqFilterFields of that report
and any one set the date filter like 18/10/0/|21/10/08..29/10/08 then
how does Setfilter works ??Now or Never0 -
Do you mean what it will filter?
It will filter everything with 18/10/08 or between 21/10/08..29/10/08 (including the limits).0 -
kine wrote:Do you mean what it will filter?
It will filter everything with 18/10/08 or between 21/10/08..29/10/08 (including the limits).
Thnx for your reply...
Suppose Table A is a dataitem of any report and Date is the ReqFilterFields of that report
and any one set the date filter like 18/10/0/|21/10/08..29/10/08 then
how does Setfilter works ??Now or Never0 -
You do not need anything more... dataitem will be filtered by entered filter expression...
may be I still have problem with understanding your question, but what is your problem? Can you describe what and why you need to know?0 -
kine wrote:You do not need anything more... dataitem will be filtered by entered filter expression...
may be I still have problem with understanding your question, but what is your problem? Can you describe what and why you need to know?
I'm waiting for your reply.
Thank you for that.
I have a table Name FinalView select the Date field on the ReqFilterFields of the report.
The user can set filters on this field.
Suppose user set filter like 18/10/08|20/10/08..29/10/08 on the Date field.
Now I want to apply this filter into another table(Named ABC, it also has a date field);
then what will be the SETFILTER Syntax ??
ABC.SETFILTER(ABC.Date,??);Now or Never0 -
Ok, the question is, "how to copy the filter from one field to another field in another table..."... 8)
Look for COPYFILTER function... (e.g. in on-line C/AL help)..
0 -
Thnx a lot kine.
I have used the COPYFILTER Function for the same when unable to
handle by the SETFILTER function.
Thank you againg for your reply.Now or Never0
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
- 329 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
