Sort foundset using related tables' columns

Questions and answers for designing and implementing forms in Servoy

Sort foundset using related tables' columns

Postby sirikumara » Mon Feb 02, 2009 11:58 am

Hi All,

I tried to sort foundset by related tables' columns. But It didn't work.My code is like following sample. Please give me the correct way of sorting foundset with related tables' columns.

foundset.sort('column1 asc,column2 asc,relation_name1.column_name1 asc,relation_name2.column_name2 asc')

Best Regards
Sirikumara
sirikumara
 
Posts: 11
Joined: Mon Sep 29, 2008 8:30 am

Return to Forms

Who is online

Users browsing this forum: No registered users and 4 guests

cron