473,505 Members | 14,618 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tree View

A2003, XP Pro.

My client wants to navigate around his db forms using a "Tree View". As
far as I know there's no such utility in Access 2003 - are there any
reliable 3rd party plug-ins that any of you have used to any degree of
success?

I've always been a bit wary of plug-ins. The last one I had to deal with
silently disabled the 'filter by form' function.

Many thanks for any recommendations.

Keith.
www.keithwilby.com
Nov 13 '05 #1
13 15363
"Keith" <ke***@NOCARPkeithwilby.org.uk> wrote in message
news:cv**********@sparta.btinternet.com...
A2003, XP Pro.

My client wants to navigate around his db forms using a "Tree View". As
far as I know there's no such utility in Access 2003 - are there any
reliable 3rd party plug-ins that any of you have used to any degree of
success?

I've always been a bit wary of plug-ins. The last one I had to deal with
silently disabled the 'filter by form' function.

Many thanks for any recommendations.

Keith.
www.keithwilby.com

If you can live with it's limitations you can fake a treeview using a
regular list box, a union query and a little code. Screen shot here:
http://www.assaynet.com/downloads/access/treeview.jpg

Sample database here:
http://www.assaynet.com/downloads/access/treeview.mdb
Some limitations:-
- no programmatic access to individual nodes
- no images
- no drag and drop
Not having to use activex controls . . . priceless :-)


Nov 13 '05 #2
The screenshot looks very interesting. Is there a version of the download
for Access 2000.

Thanks

Phil

"John Winterbottom" <as******@hotmail.com> wrote in message
news:38*************@individual.net...
"Keith" <ke***@NOCARPkeithwilby.org.uk> wrote in message
news:cv**********@sparta.btinternet.com...
A2003, XP Pro.

My client wants to navigate around his db forms using a "Tree View". As
far as I know there's no such utility in Access 2003 - are there any
reliable 3rd party plug-ins that any of you have used to any degree of
success?

I've always been a bit wary of plug-ins. The last one I had to deal with
silently disabled the 'filter by form' function.

Many thanks for any recommendations.

Keith.
www.keithwilby.com

If you can live with it's limitations you can fake a treeview using a
regular list box, a union query and a little code. Screen shot here:
http://www.assaynet.com/downloads/access/treeview.jpg

Sample database here:
http://www.assaynet.com/downloads/access/treeview.mdb
Some limitations:-
- no programmatic access to individual nodes
- no images
- no drag and drop
Not having to use activex controls . . . priceless :-)



Nov 13 '05 #3
Assuming you've got it (say from Visual Basic), you can use the standard
Microsoft Treeview that's part of mscomctl.ocx.

Check
http://msdn.microsoft.com/library/en...bjtreeview.asp for
details.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"Keith" <ke***@NOCARPkeithwilby.org.uk> wrote in message
news:cv**********@sparta.btinternet.com...
A2003, XP Pro.

My client wants to navigate around his db forms using a "Tree View". As
far as I know there's no such utility in Access 2003 - are there any
reliable 3rd party plug-ins that any of you have used to any degree of
success?

I've always been a bit wary of plug-ins. The last one I had to deal with
silently disabled the 'filter by form' function.

Many thanks for any recommendations.

Keith.
www.keithwilby.com

Nov 13 '05 #4
"Phil Stanton" <ph******@xxstantonfamily.co.uk> wrote in message
news:42***********************@ptn-nntp-reader04.plus.net...
The screenshot looks very interesting. Is there a version of the download
for Access 2000.

Thanks

Phil


Sure, here it is:

http://www.assaynet.com/downloads/access/treeview2k.mdb
Nov 13 '05 #5
rkc
John Winterbottom wrote:
If you can live with it's limitations you can fake a treeview using a
regular list box, a union query and a little code. Screen shot here:
http://www.assaynet.com/downloads/access/treeview.jpg

Sample database here:
http://www.assaynet.com/downloads/access/treeview.mdb


Interesting idea.
Nov 13 '05 #6
On Sun, 27 Feb 2005 18:50:26 -0500, "John Winterbottom"
<as******@hotmail.com> wrote:
"Phil Stanton" <ph******@xxstantonfamily.co.uk> wrote in message
news:42***********************@ptn-nntp-reader04.plus.net...
The screenshot looks very interesting. Is there a version of the download
for Access 2000.

Thanks

Phil


Sure, here it is:

http://www.assaynet.com/downloads/access/treeview2k.mdb


John,

I bet you can anticipate the next question or two.......

Is there anything relied upon which is unavailable through A97? If
so, is there an A97 version?

Thanks

mike

Nov 13 '05 #7
"Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote:
Assuming you've got it (say from Visual Basic), you can use the
standard Microsoft Treeview that's part of mscomctl.ocx.

Check
http://msdn.microsoft.com/library/en...bjtreeview.asp
for details.


I'll check that out, thanks Doug.
Nov 13 '05 #8
"John Winterbottom" <as******@hotmail.com> wrote:
"Phil Stanton" <ph******@xxstantonfamily.co.uk> wrote in message
news:42***********************@ptn-nntp-reader04.plus.net...
The screenshot looks very interesting. Is there a version of the
download for Access 2000.

Thanks

Phil


Sure, here it is:

http://www.assaynet.com/downloads/access/treeview2k.mdb


Many thanks John, I'll take a look at that. :o)
Nov 13 '05 #9
Thanks

Brilliant

Phil
"Phil Stanton" <ph******@xxstantonfamily.co.uk> wrote in message
news:42***********************@ptn-nntp-reader04.plus.net...
The screenshot looks very interesting. Is there a version of the download
for Access 2000.

Thanks

Phil

"John Winterbottom" <as******@hotmail.com> wrote in message
news:38*************@individual.net...
"Keith" <ke***@NOCARPkeithwilby.org.uk> wrote in message
news:cv**********@sparta.btinternet.com...
A2003, XP Pro.

My client wants to navigate around his db forms using a "Tree View". As
far as I know there's no such utility in Access 2003 - are there any
reliable 3rd party plug-ins that any of you have used to any degree of
success?

I've always been a bit wary of plug-ins. The last one I had to deal with
silently disabled the 'filter by form' function.

Many thanks for any recommendations.

Keith.
www.keithwilby.com

If you can live with it's limitations you can fake a treeview using a
regular list box, a union query and a little code. Screen shot here:
http://www.assaynet.com/downloads/access/treeview.jpg

Sample database here:
http://www.assaynet.com/downloads/access/treeview.mdb
Some limitations:-
- no programmatic access to individual nodes
- no images
- no drag and drop
Not having to use activex controls . . . priceless :-)




Nov 13 '05 #10
"Mike Preston" <mb******@pacbell.net.invalid> wrote in message
news:42***************@news.INDIVIDUAL.NET...

I bet you can anticipate the next question or two.......

Is there anything relied upon which is unavailable through A97? If
so, is there an A97 version?

Thanks

mike


Hi Mike, the code should work fine in A97. Let me know if you want and I'll
put an access 97 version up there as well.

ps, I've started using this concept for more complex hierarchies, (up to 4
levels), the sql becomes a little more involved but it still works ok. Speed
is good. Adding new nodes is a challenge; you need to have a column in your
query to tell access what level you are on, so you can get back there when
you re-quer the list box.

I'll try and make an example with 'new', 'edit' 'delete' functionality.
Nov 13 '05 #11
On Mon, 28 Feb 2005 10:20:06 -0500, "John Winterbottom"
<as******@hotmail.com> wrote:
"Mike Preston" <mb******@pacbell.net.invalid> wrote in message
news:42***************@news.INDIVIDUAL.NET...

I bet you can anticipate the next question or two.......

Is there anything relied upon which is unavailable through A97? If
so, is there an A97 version?

Thanks

mike

Hi Mike, the code should work fine in A97. Let me know if you want and I'll
put an access 97 version up there as well.


I would very much like to look at it in A97.
ps, I've started using this concept for more complex hierarchies, (up to 4
levels), the sql becomes a little more involved but it still works ok. Speed
is good. Adding new nodes is a challenge; you need to have a column in your
query to tell access what level you are on, so you can get back there when
you re-quer the list box.
Sounds even more interesting.
I'll try and make an example with 'new', 'edit' 'delete' functionality.


I'm guessing that many will appreciate that.

Take care,

mike
Nov 13 '05 #12
Thanks for the info. Could it be adapted for form and report navigation?

Regards,
Keith.

John Winterbottom wrote:
"Keith" <ke***@NOCARPkeithwilby.org.uk> wrote in message
news:cv**********@sparta.btinternet.com...
A2003, XP Pro.

My client wants to navigate around his db forms using a "Tree View". As
far as I know there's no such utility in Access 2003 - are there any
reliable 3rd party plug-ins that any of you have used to any degree of
success?

If you can live with it's limitations you can fake a treeview using a
regular list box, a union query and a little code. Screen shot here:
http://www.assaynet.com/downloads/access/treeview.jpg

Sample database here:
http://www.assaynet.com/downloads/access/treeview.mdb
Some limitations:-
- no programmatic access to individual nodes
- no images
- no drag and drop
Not having to use activex controls . . . priceless :-)



Nov 13 '05 #13
On Sun, 27 Feb 2005 21:35:25 +0200, John Winterbottom wrote
(in message <38*************@individual.net>):
If you can live with it's limitations you can fake a treeview using a
regular list box, a union query and a little code. Screen shot here:
http://www.assaynet.com/downloads/access/treeview.jpg


I'm a bit late on this topic (didn't read cdma the last 2 months)
but I recently wrote an (ugly) prototype of something similar.

If someone's interested:

<http://homepage.mac.com/micih>
(db15.zip, an Acc97 database).

I did no deep tests because I had other things to work on lately.
Of course this is not ready for prime time, just a "study" what
could be possible with a ListControl as a fake TreeView.

I will probably post a better documented/more bug free version some
time...

The basic concept is a very ugly implementation of some kind of
"materialized path" for the outline structure.
Most of the code for moving nodes around is inside a class module.
(triggered by the buttons on the sample form.)

You can set the number of alowed outline levels and the max. number
of entries per level (the demo uses 4 levels and a maximum of 99
entries per level). The Key-Field (string) must be adjusted if
you want to change this.
(For 4/2 the key length is 8, i.e entry 1.2 is 01020000).

The whole code is probably too slow for very big outlines...

The outline/tree-structure is kept in a separate table.
It's possible to use the whole parent Outliner-Table (see
example form) or only a restricted set: This was implemented
because the original motivation for the whole thing was
a database for meetings.

Meetings<--1toMany-->Topics<--1to1-->OutliningStructure

It is possible then to work only with topics of specicif meetings
by setting the appropriate restrict Parameter (see Class_Init).

And there is also code to get the path to a specific entry with
a delimiter like "->" (i.e. Computers->Portables->IBM->Thinkpads).

Mike

Nov 13 '05 #14

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

Similar topics

3
10802
by: imani_technology_spam | last post by:
We need to present hierarchical data on a web page, the same way the tree view shows files in Windows Explorer. Here's the catch: that tree view needs to be bound to a SQL Server database. How...
0
2158
by: Tree menu using XML | last post by:
I have one XML file that has nodes and sub node and each and every node has the attribute call visible if its value is true then diplay this node else don't display thid node, but this condition i...
1
4893
by: Jesper DK | last post by:
Hi, I have docked a tree view to the left on a form. When I start to populate this tree view with nodes, a horizontal scroll box appears in the bottom of the tree view even though thee tree...
3
6044
by: Saradhi | last post by:
Hi All, Here I am facing a performance problem with the TreeView Node renaming. I am displaying a hierarchy Data in a treeview in my Windows C# Application. My tree view represents an...
1
2167
by: Kaye | last post by:
It seems that when I dynamically resize items in a tree-view control, using TVM_SETITEM and the TVITEMEX iIntegral member, things go awry. The window draws properly, but it seems like the RECTs for...
10
2502
by: dwok | last post by:
Does anyone know of a good article that discusses creating a "Tree View" control in ASP.NET? Or perhaps a Tree View Control that comes with source code? I have come across a lot of tree controls...
0
1411
by: rinishrk | last post by:
Hi, I have a web application that contains subfolders Admin and User with related webpages inside them. Within the Admin folder I have a page containing a Tree View Control.I want this tree view...
3
2365
by: gmail | last post by:
Hi Friends, Can any body suggest me on this. I am working on .NET 2005 Frame work 2.0 . I am facing problem using the tree stucture. I created the site map.Now i want use the site map in every...
1
4741
by: BeginingOfLife | last post by:
i am using a java script to create a tree view in my html page. i got that script from this link : http://destroydrop.com/javascripts/tree/ given script is static script creations for tree...
1
2604
by: happy.john1234 | last post by:
Hi, i have got large xml file which i have to show in tree view windows form.I tried with loading all those data at once to tree view but it took a long time to render that tree view.Now i am...
0
7216
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,...
0
7098
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...
0
7303
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,...
1
7018
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7471
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...
0
5613
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5028
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...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
407
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.