Invert filter

varoda
Member Posts: 7
Hello, I have a problem.
I need to invert the filters of a table, it means, for example, I have filtered a table by the field Nº, the filter is 10000..20000. I need to invert this filter, it would somenthing like this <>10000..20000 but it doesn´t work. Do you know if there is a function to do this?
I think the unique solution for this is doing it in hand.
Thank you.
I need to invert the filters of a table, it means, for example, I have filtered a table by the field Nº, the filter is 10000..20000. I need to invert this filter, it would somenthing like this <>10000..20000 but it doesn´t work. Do you know if there is a function to do this?
I think the unique solution for this is doing it in hand.
Thank you.
0
Comments
-
You'll definitely have to do this by hand. You can build code for it, but even that will be form specific (ie you'd have to add it to every form you wanted to do it on).0
-
..9999|20001..
your example was how to exclude 10000 to 20000 do the filter above
goes 9999 & before to 20001 and after, therefore excluding the range in your example.0 -
I don´t undertand you.0
-
There is no function for it. It is not simply task to negate any filter you can create.0
-
varoda wrote:I don´t undertand you.
the filter above goes to 9999 & before to 20001 and after, therefore excluding the range in your example.0 -
Have you found a good method?
I generally have a data item where the user can insert in a date field < date value.
I should filter another record variable for the opposite > date value.
But it not always so, the user could insert a lot of other different filters both on the date field (ex, >, a .. b, =a ecc....)
Isn't there something like NOT filter ?
Thank you0 -
You could mark all records, apply your filter and unmark those records within the filter. Then you should remove your filter and set MARKEDONLY(TRUE). But this way might take a long time depending on the table design, the number of records, your system..."Money is likewise the greatest chance and the greatest scourge of mankind."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