Forums
Hi,
How do I get the sort fields from webix into my IceBreak program?
Regards,
Jim
Re: Sorting (fixed typos)
Hi Jim,
Since you don't know the names - except is start with "sort[', you have to traverse the list of reqString:
Order= '';
Comma = '';
GetQryStrList (Field: value : '*FIRST');
dow (Field > '') ;
If %subst(Field : 1 :5) = 'sort[';
Order += comma + %subst(Field : 1 : %len(field –1));
Comma = ',';
Endif;
GetQryStrList (Field: value : '*NEXT');
Enddo;Best regards,
Niels Liisberg