combine filters
dolec
Member Posts: 12
Hi,
is there any way to combine filters in c/side?
I've got two records AccScheduleLine1 and AccScheduleLine2, both are filtered. I want use both the filter sets in the AccScheduleLine1 record.
I think the COPYFILTERS function cleans all the previous filters in all filtergroups and copy the new filters only.
is there any way to combine filters in c/side?
I've got two records AccScheduleLine1 and AccScheduleLine2, both are filtered. I want use both the filter sets in the AccScheduleLine1 record.
I think the COPYFILTERS function cleans all the previous filters in all filtergroups and copy the new filters only.
0
Comments
-
You can use the function GETVIEW and SETVIEW (it takes only active filtergroup) - there is only one problem - it sets CURRENTKEY too...
Second variant is to copy field by field...0 -
hi,
Yes, you are right,
"COPYFILTERS function cleans all the previous filters in all filtergroups and copy the new filters only."
the only way to combine filters is to use a temporary table if you knew that there are only a few records (<100) filtered by the first filter.
- filter the first filter set on the original table
- insert the filtered records in a temporary table
- filter the first filter set on the temporary table
but can you tell us what you want to do?
may be you don't need combine filtters?
br
Josef Metzbr
Josef Metz0 -
Third variant:
Apply first filter, make marks on all records,
Apply second filter, make marks on all records,
Clear filters, turn markedonly...0 -
It depends a bit what you mean by "combining" the filters.
If you mean a logical AND then the filtergroups should be the most handy solution. If it is OR, you most likely have to use temporary table or marking the records.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
- 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
