473,569 Members | 2,793 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Treeview Limitations

Hi everyone!

My Access app. uses the ActiveX Treeview control to show a hierarchal
structure of records.

Each record has a name and a "parent" along with some other attibutes.
For example:

Item Parent
------------------
Car TOP LEVEL
Engine Car
Wheels Car
Doors Car
Valves Engine
Dipstick Engine
Tyres Wheels
Hinges Door
Handle Door
Screws Hinges

For clarity, I can safely assume that each item is unique and that any
Item can in turn be a parent. I have not imposed any limit on the
number of levels.

For example, the above table might render as follows (apoligies for the
poor ASCII art!):

TOP LEVEL
+Car
.....+Engine
.........-Valves
.........-Dipstick
.....+Doors
.........-Handles
.....+Hinges
.........-Screws
.....+Wheels
.........-Tyres

You get the idea.

It seems to work fine, typically rendering a few thousand records in a
matter of seconds.

The question is, I'm looking to apply this same idea to a dataset of
10's of thousands (probably 40,000). Is this going to be possible? Can
Treeview only handle so much? Early testing seems to indicate that
Access just gives up and crashes.

So I guess i'm asking if anyone has any ideas of how this could be
achieved using a smarter method?
I personally don't really understand mcuh about the Treeview control, I
treat it much like a magic black-box that until recently did it's job
pretty well!

Thanks in advance!
Scott

Nov 13 '05 #1
1 2110
On 30 Sep 2004 06:58:13 -0700, "Scott" <sm*******@gmai l.com> wrote:

You could always use a 3rd party treeview control if you run into
"limitation s" with Microsoft's. I have had good experience with the
one from Infragistics, albeit in a VB6 environment.

-Tom.
Hi everyone!

My Access app. uses the ActiveX Treeview control to show a hierarchal
structure of records.

Each record has a name and a "parent" along with some other attibutes.
For example:

Item Parent
------------------
Car TOP LEVEL
Engine Car
Wheels Car
Doors Car
Valves Engine
Dipstick Engine
Tyres Wheels
Hinges Door
Handle Door
Screws Hinges

For clarity, I can safely assume that each item is unique and that any
Item can in turn be a parent. I have not imposed any limit on the
number of levels.

For example, the above table might render as follows (apoligies for the
poor ASCII art!):

TOP LEVEL
+Car
....+Engine
........-Valves
........-Dipstick
....+Doors
........-Handles
....+Hinges
........-Screws
....+Wheels
........-Tyres

You get the idea.

It seems to work fine, typically rendering a few thousand records in a
matter of seconds.

The question is, I'm looking to apply this same idea to a dataset of
10's of thousands (probably 40,000). Is this going to be possible? Can
Treeview only handle so much? Early testing seems to indicate that
Access just gives up and crashes.

So I guess i'm asking if anyone has any ideas of how this could be
achieved using a smarter method?
I personally don't really understand mcuh about the Treeview control, I
treat it much like a magic black-box that until recently did it's job
pretty well!

Thanks in advance!
Scott


Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2235
by: John Winterbottom | last post by:
I've a requirement for a treeview control to display a master-detail view. So instead of the old the old 'ActiveX + 1,000 lines of code' method that I've used in the past. I decided to try a different approach. This is a very simple idea so I'd be surprised if it hasn't been done before - but I couldn't find anything in google, so here it is...
42
11487
by: lauren quantrell | last post by:
So many postings on not to use the treeview control, but nothing recently. Is it safe to swim there yet with Access 2000-Access 2003?
5
19875
by: SoKool | last post by:
Can anyone point me to a site where I can get a free treeview control to use in ASP .NET or any tutorial that can help me build my own treeview control. I intend to use a treeview to generate a dynamic menu by collating data from a Sql Server Table. Many thanks.
3
2819
by: Peter | last post by:
Hello, We are inserting a side menu to our application using a class that is writing HTML on all our pages. This is a part of the code as an example: writer.Write(" <table WIDTH=""100%"" BORDER=""0"" CELLSPACING=""0"" CELLPADDING=""0"" ID=""Table1""> " & vbNewLine) writer.Write(" <tr>" & vbNewLine) writer.Write(" ...
6
4915
by: L.M | last post by:
Hello, I knew how to use the treeview under VB6. After migrating to .NET, well, I'm lost. I try to add a new node, either to the same level or as a child to a selected node in the treeview. However, either it only add it to the root level or it only add it on level below, doesn't matter what I select. And in some case, I just get an...
14
15066
by: Mr.D | last post by:
How do I save/load the contents of a Treeview to a file? I have found several good examples written i VB6, but not a single one for VB.NET. Please help. ---- Tim
3
3812
by: christof | last post by:
I've got a really easy problem, please help me: There are two pages in one I'm creating a TreeView like that: TreeView dbTree = new TreeView(); TreeNode dbTreeRoot = new TreeNode("Root"); dbTree.Nodes.Add(dbTreeRoot); .. ..
8
12742
by: Matt MacDonald | last post by:
Hi All, I have a form that displays hierarchical categories in a treeview. Ok so far so good. What I was to do is have users be able to select a node in the treeview as part of filling out the form. I only want to allow single selection, so using checkboxes is out of the question. It works as is, but it makes the form very cumbersome if...
0
2995
by: Grasshopper | last post by:
I am the as beginner as they come to VB 6.0. My project is to control another program through CATIA DesignTables (parameterized Excel sheets that update a CATIA model) through a VB interface. So I need to select the sheet, modify and save/close all within VB. I would like to access Excel worksheets from a TreeView type selection process and...
0
7695
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7922
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8119
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1209
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.