Community
Showing results for 
Search instead for 
Do you mean 
Reply

Controlling Lookup sort without a field

Copper Contributor
Posts: 119
Country: USA

Controlling Lookup sort without a field

by rogdon on 01-03-2008 5:11 PM

I am creating a Lookup using the SDK and I would like to set the order of the current Lookup based on value in memory for the list of contacts without using a field as the sort criteria.  I have the sort value in memory associated with the contacts in the Lookup.  Any ideas?

Copper Contributor
Posts: 119
Country: USA

Re: Controlling Lookup sort without a field

by Vivek on 01-10-2008 9:01 AM

Hi there,

If youhave the lookup then you should already have the ContactList it returns. so you can simply do a

newContactList(existingContactList.SortCriteria);

I haven't tried this yet myself but it should work?