After a little bit of looking around, I ran across the MSHFlexGrid Control, which is the Microsoft Hierarchal FlexGrid Control. I think this might be what I'm looking for. I'm thinking there might be way to use this control to display my records. What I'm trying to do is have a 3 tier structure as such:
+ Data11 Data12 Data13 Data14 Data15 (First Level from Notification Table Collapsed)
- Data21 Data22 Data23 Data24 Data25 (First Level from Notification Table Expanded)
+ Data2111 Data2112 Data2113 Data2114 Data2115 (First Sublevel from Notification Items Table - Collapsed)
- Data2121 Data2122 Data2123 Data2124 Data2125 (First Sublevel from Notification Items Table - Expanded)
Data212111 Data212112 Data212113 Data212114 .... (Second Sublevel from Causes Table)
Data212121 Data212122 Data212123 Data212124 ... (Second sublevel from Activities Table)
+ Data2131 Data2132 Data2133 Data2134 Data2135 (First Sublevel from Notification Items Table - Collapsed)
+ Data31 Data32 Data33 Data34 Data35 (First level from Notification Table Collapsed)
So I guess I'm looking for a three three tier hierarchy where the first level is from the Notifications table. The second level would be for Notification Items and then the third level would be for Causes and Activities that are linked to Items.
Not sure if any of this helped... If the above structure is possible with the MSHFlexGrid control, and I think it is, how would one go about setting up the flexgrid and loading my records as shown above.
I know this is a tough one, but any help would be greatly appreciated....
Main Topics
Browse All Topics





by: harfangPosted on 2004-11-29 at 20:55:19ID: 12702842
Well, there is the Tree view control. It looks like the windows explorer and the like. But this displays only one string for each item. You will need a second pane for the details (like the list of files with dates, size, etc.).
Come to think of it, you will probably need a second "details" pane whatever the solution you choose for the navigation...
I have created a pseudo-tree view with a simple list box and a complex union query. Sub items were preceeded by spaces to show the indentation. If all types of records share certain fields, they could be displayed in columns next to that, but the number formatting of list boxes is bad.
I suppost the same trick can be done with a continuous form... The first text box would be used to show the indented identifiers... Still, the query would be a monster to create, maintain, and tweak according to the filters...
Hmm. I guess I can't really help. I would need to redo the analysis to have better ideas. As a general advice: keep things simple :)
Good Luck!