vendredi 21 octobre 2011

How to sort in desc order a grid of a form

You put this code in the init methode of the datasource:


super()
this.query().dataSourceTable(tableNum(InventTable)).addSortField(fieldNum(InventTable, RecId),SortOrder::Descending);

Aucun commentaire:

Enregistrer un commentaire