preset filters when opening an entry table/form
mlafors
Member Posts: 18
When I am searching the Item Ledger Entry table or the Value Entry table it takes a rather long time before the data I want to see is filtered, because of the increasing entries in these tables.
Is it possible to set some filters before opening a table of form so that the entries are directly filters on opening.
I am using NAV 3.70.
I hope some can help me on this.
Is it possible to set some filters before opening a table of form so that the entries are directly filters on opening.
I am using NAV 3.70.
I hope some can help me on this.
0
Comments
-
Setting a filter directly on the table upon opening is not possible. But creating a form bound to a table will be. Just set the SourceTableView TableFilter.Navision noob....0
-
Thanks for your very quick answer, but with the table filters in sourcetableview you can only set te filters once.
I would like to be able to set different filters, without changing the settings in sourcetableview.
Is it possible to set filters in a different form and than tranfer these to the table that you are opening?0 -
Or you can create a new form (NOT bound to a table) in which the user can put some filters (Item,location code,posting date,...) and then put them on the entry-record and launch the form.
BTW : are you using SQL- or Navision-DB?
For the Navision-DB, it is a good idea to use the correct index before filtering.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
kriki wrote:Or you can create a new form (NOT bound to a table) in which the user can put some filters (Item,location code,posting date,...) and then put them on the entry-record and launch the form.
BTW : are you using SQL- or Navision-DB?
For the Navision-DB, it is a good idea to use the correct index before filtering.
I am using Navision-DB.
I think this is what I need, but how can I put the filter information on the entry-record?0 -
If there are a lot of entries and you filter on a field that is not included in a key then it will be slow. Have you considered the following (for example) for the Item Ledger Entry?:
Create a new form in which you don't display any flowfields at all. The form will show the data fast enough. Then add a button to open another form showing all the fields but with the filtered entries that you have selected from the previous form.0 -
Another way might be using a report in which the user puts the filters he wants.mlafors wrote:kriki wrote:Or you can create a new form (NOT bound to a table) in which the user can put some filters (Item,location code,posting date,...) and then put them on the entry-record and launch the form.
BTW : are you using SQL- or Navision-DB?
For the Navision-DB, it is a good idea to use the correct index before filtering.
I am using Navision-DB.
I think this is what I need, but how can I put the filter information on the entry-record?
In the OnBeforeReport-trigger, you just need this code:FORM.RUNMODAL(0,"Item Ledger Entry"); CurrReport.QUIT;
Maybe you should use http://www.mibuso.com/forum/viewtopic.php?t=21112 to select a good key before running the FORM.RUNMODAL-statement.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
I have deleted the flowfields in the form and thats much faster.
How can enter filters and tranfer these to the original form with the flowfield?0 -
try Rec.COPYFILTERS(FromRecord)0
-
Newbie answer:
How about using a proper key and FILTERGROUPS ?
Will it help?"A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."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