mibuso.com

Microsoft Business Solutions online community
It is currently Thu May 23, 2013 3:43 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Sort data frm Page in Visual Studio
PostPosted: Thu Mar 26, 2009 11:05 am 
Offline

Joined: Fri Aug 01, 2008 3:09 pm
Posts: 8
Location: Frankfurt
Country: Germany (de)
Hey Guys,

i'm getting data from the Page "Contact Card" sorted by No. . What do i have to do, to sort in visual studio the ContactCard[] by other criterias???

thx and greetz


Top
 Profile  
 
 Post subject: Re: Sort data frm Page in Visual Studio
PostPosted: Fri Mar 27, 2009 7:08 am 
Offline
Microsoft employee

Joined: Thu Jan 24, 2008 2:21 am
Posts: 358
Location: MDCC
Country: Denmark (dk)
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.

Or sort the data client side :?

_________________
Freddy Kristiansen
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.


Top
 Profile  
 
 Post subject: Re: Sort data frm Page in Visual Studio
PostPosted: Fri Mar 27, 2009 10:46 am 
Offline

Joined: Thu Jan 15, 2009 4:38 pm
Posts: 31
Location: Aarhus
Country: Denmark (dk)
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().

Attachment:
Sorting.png
Sorting.png [ 3.75 KiB | Viewed 267 times ]


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: zarryn and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: