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 ?
0
Comments
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.
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
How about this: http://www.mibuso.com/dlinfo.asp?FileID=895
TVision Technology Ltd
I believe there are properties on the form for that.
Aren't the SaveTableView and SaveValues used for this purpose?
Thanks,
Willy.
RESET;
on the form. (onopen, onclose, etc)
http://www.BiloBeauty.com
http://www.autismspeaks.org
I change it the RunObject then Form display the records by pervious sort key has be saved .