Skip to Content
0
Former Member
May 12, 2008 at 05:59 AM

Assending Sort order not working in DB2E

41 Views

Hi All,

I am confused about the sorting in DB2E. I have a code snippet to get the list based on assending sort order of a particular field. This is working well without DB2E. But when it comes to DB2E list is populating based in Descending order. Below is the code snippet.

FieldDescriptor[] flds = {zamioManager.getZamio091Item010Descriptor().getFieldDescriptor("POSNR"),zamioManager.getZamio091Item010Descriptor().getFieldDescriptor("FUNCLOC")};

boolean[] asc = {true,true};

Item010List = (BOList) zamioManager.getZamio091Item010(zamio091,condition091,_zamioQueryBuilder.getSortOrder(flds,asc),_QueryBuilder.initialIndex,QueryBuilder.allResultIndex);

Can any body please tell me, why is this not working in DB2E. Please tell me what are the changes need to be done to work this assending sort order in DB2E.

Your help is highly appreciable.

Regards,

Murthy