Display the Form with the previously set sort key
month8848
Member Posts: 17
Navision 2009, Native
When I pull up the From, I can Shift+F8 and change the default sort key. When I then close the Form, and re-open it,the previously set sort key is forgotten.
I want to display the Form with the previously set sort key.
How do I Save the sort key ?
When I pull up the From, I can Shift+F8 and change the default sort key. When I then close the Form, and re-open it,the previously set sort key is forgotten.
I want to display the Form with the previously set sort key.
How do I Save the sort key ?
0
Comments
-
Well, you challenged me (as I was not sure) so I tried the following:
1. Open Chart of Accounts (COA)
2. Choose a new (sort) key, being (in w1) the last key: Name
3. Applied it
4. Closed COA
5. Reopend COA
Result:
COA is still sorted by the Name key!
Even when I close NAV, restart and reopen COA it's still sorted by the Name key!
So this seems to do exactly what you are asking for. I wonder if the form you have worked with maybe has a key set by means of code or the SourceTableView property. In that case the sorting will always 'revert' to this setting when you reopen the form.0 -
It depends on your form. Maybe it's called by code and there is a special key assigned by SETTABLEVIEW. Or on the form itself there is this property SourceTableView, maybe that's set. In general there is another property to store the users view in the zup file: SaveTableView. Try this one."Money is likewise the greatest chance and the greatest scourge of mankind."0
-
Robert de Bath
TVision Technology Ltd0 -
Hi,
I believe there are properties on the form for that.
Aren't the SaveTableView and SaveValues used for this purpose?
Thanks,
Willy.Fostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.0 -
Also check there is no
RESET;
on the form. (onopen, onclose, etc)0 -
I have find the reason , when i open the Form used lookuptable that select records by primay key.
I change it the RunObject then Form display the records by pervious sort key has be saved .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
- 322 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
