Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSFlex grid control???

Status
Not open for further replies.

99mel

Programmer
Oct 18, 1999
379
GB
Hi all,

Does anyone know whether it is possible to order the rows (ascending order) in a MSFlex grid?
I have like in column 1, numbers which i want in ascending order.

If this can't be done whats the best way of putting these records into ascending order with the first field? There just in an array when not in the grid.

Thanks for any help!

Mel

 
Set the active column and then call the sort method with the type sort you want.

MSFlexGrid.Col = 5
MsFlexGrid.Sort = flexSortNumericAscending
' or
'MsFlexGrid.Sort = flexSortNumericDescending

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top