I need to sort a column of a xbrowse "at startup" as descending, I am browsing an array
The bitmap (for ascending, descending) is showing "descending" for the column but the column is not sorted
This is the code below ,
Thanks for the help,
- Code: Select all Expand view
REDEFINE XBROWSE oBrw ID 201 OF ODLG ;
COLUMNS 2,10,5,3,4,7,11,12,13 ;
HEADERS "Date" + CRLF + "Facture", "Fournisseur","N°" + CRLF + "Facture","Date" + CRLF + "Echéance","Date" + CRLF + "Paiement","Total" + CRLF + "TTC","Total" + CRLF + "Acomptes","Solde","Motif";
FOOTERS ;
FONT aFont ;
COLORS {|| { CLR_BLUE, CLR_WHITE } } ;
colsizes asize ;
array TVISU lines AUTOSORT
oBrw:aCols[01]:cOrder := 'D' // this is not working