PDA

Click to See Complete Forum and Search --> : Decending Data in HFlexgrid


SHaRON GON
Jun 15th, 2000, 10:48 AM
Hello!

I created my own procedure in data environment with connection to my database.
So I also add a HFlexgrid inside the program and the data can display out but I want the data display in decending order. So what I suppost to do??

Regards
SHaRON GON

UKPhil
Jun 15th, 2000, 10:57 PM
Once you have filled the FlexGrid with the data then you can sort the FlexGrid using the sort command, e.g.

flxData.Sort = flexSortNumericDescending

This will sort the data if the data is numeric. For other constants check out the MSDN disk for MSHFlexGrid Properties..Sort

Hope this helps.