You cannot ask the CRUD functions on the page to sort the data for you - that feature is not build (yet - don't know if it will)
If you want to have data returned sorted in a specific way, you should create a function with a VAR parameter of the type XML Port - which then can return the data you want.
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Change the PageType to Card. Create af global variable and add then variable to the page as a Field. Then the variable is available in signature of the web service functions and you can read the value in the page on the trigger OnAfterGetRecord().
Comments
If you want to have data returned sorted in a specific way, you should create a function with a VAR parameter of the type XML Port - which then can return the data you want.
Or sort the data client side :?
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.