Submitted by Anonymous (not verified) on Fri, 04/08/2016 - 17:47
Forums

Hi, 

How do I get the sort fields from webix into my IceBreak program?

Regards,

Jim

Niels Liisberg

Fri, 04/08/2016 - 17:59

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