Solved

Sorting a heirarchical flexgrid

Posted on 2006-06-23
9
155 Views
Last Modified: 2010-04-07
Hi,

Is it possible to allow users to sort the columns of an MSHFlexgrid based on the header selected by the user? Is so, then can anyone point me in the right direction?

Thanks
0
Comment
Question by:pmud
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
9 Comments
 
LVL 9

Accepted Solution

by:
justchat_1 earned 250 total points
ID: 16972812
0
 
LVL 19

Assisted Solution

by:Stephen Manderson
Stephen Manderson earned 250 total points
ID: 17198186
Hi there

You can give this a try,

http://vb-helper.com/howto_sort_flexgrid.html

Either that or you could use textmatrix to get the column name and then use it in a sql query and refill the grid.
0
 
LVL 19

Expert Comment

by:Stephen Manderson
ID: 17442337
Hi there,

Did you manage to get this problem sorted ?

The about link I posted, I have tried and tested on a MSHFlexgrid and it works great.

Regards
Steve
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 9

Expert Comment

by:justchat_1
ID: 17442839
My link does also works exactly as your description says...if you had a problem with either of the links you can post that information.  Otherwise a moderator will be forced to award points for you...
0
 
LVL 19

Expert Comment

by:Stephen Manderson
ID: 17625613
Solutions provided by both myself and justchat - Recommend split points.

Steve
0
 
LVL 9

Expert Comment

by:justchat_1
ID: 17630858
agreed
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question