Reset subform filter after clicking on next record button on Parrent page on Sales Order
george175
Member Posts: 26
Hello all,
Is there some solution to reset used defined filter from button function on subpage, when I will click on next record button on parent page? If I click on next record button, subpage cant filter on next record lines and lines are empty. I have to click on clear filter first.
I know that there is ctrl+shift+a hotkey on subpage, but have to do this automatically.
Any ideas or suggestions?
Is there some solution to reset used defined filter from button function on subpage, when I will click on next record button on parent page? If I click on next record button, subpage cant filter on next record lines and lines are empty. I have to click on clear filter first.
I know that there is ctrl+shift+a hotkey on subpage, but have to do this automatically.
Any ideas or suggestions?
0
Answers
-
why do you filter the subform?
please describe the whole process, where that is used.best regards
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/0 -
I don't know what you mean by "from button function on subpage" either.
But you could add this global function to the subform:
ResetManualFilters()
RESET;
And in the main form:
Form - OnAfterGetRecord()
CurrForm.SubFormName.FORM.ResetManualFilters;
This will reset all the filters the users set on the records in the sub page when they click next.
But maybe it is better to explain the FILTER indication in the bottom of the document.0 -
I don't know what you mean by "from button function on subpage" either.
But you could add this global function to the subform:
ResetManualFilters()
RESET;
And in the main form:
Form - OnAfterGetRecord()
CurrForm.SubFormName.FORM.ResetManualFilters;
This will reset all the filters the users set on the records in the sub page when they click next.
But maybe it is better to explain the FILTER indication in the bottom of the document.
This unfortunately does not work
this is my subpage pageAction filter
RESET;
SETRANGE("Document Type",SalesHeader."Document Type");
SETRANGE("Document No.",SalesHeader."No.");
SETRANGE("Outstanding Quantity")
If I click on next more times or just one time, I have filter on first record still.0
Categories
- All Categories
- 75 General
- 75 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

