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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SORT msflexgrid column 1 with decimal number 1

Status
Not open for further replies.

2009luca

Programmer
Jul 27, 2013
222
IT
i just have in ciolumn 1 this:

0,45
0,7
-0,47
-11,80
0,5
ecc...

how to sort the comlumn value?
Tks
 
Did you try this?

---- Andy

"Hmm...they have the internet on computers now"--Homer Simpson
 
Are you saying you don't know how to sort an MSFlexGrid at all, or just isn't being sorted the way you want

If the former, then something like

Code:
[COLOR=blue]Private Sub MSFlexGrid1_Click()
    If MSFlexGrid1.Row = 1 Then MSFlexGrid1.Sort = flexSortGenericAscending
End Sub[/color]

If the latter, then check the documentation for Sort, which will show you a number of sort order options (of which [tt]flexSortGenericAscending[/tt] above is just one)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top