A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

TreeView



 
 
Thread Tools Display Modes
  #1  
Old December 4th, 2008, 01:42 AM posted to microsoft.public.access.gettingstarted
Robert[_27_]
external usenet poster
 
Posts: 1
Default TreeView

Any know if 2007 can make a tree view form?
This site has a good free example (http://www.datapigtechnologies.com/)
but doesn't seem to work with 2007. Maybe due to VBA changes.

I wanted to do exactly as their example with a table columns shown as tree.

Any help is greatly appreciated.

Robert
  #2  
Old December 4th, 2008, 04:51 AM posted to microsoft.public.access.gettingstarted
Arvin Meyer [MVP][_2_]
external usenet poster
 
Posts: 2,310
Default TreeView

If you put the database in a Trusted Location and set the references as per
his tutorial, it should work OK in 2007.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


"Robert" wrote in message
...
Any know if 2007 can make a tree view form?
This site has a good free example (http://www.datapigtechnologies.com/)
but doesn't seem to work with 2007. Maybe due to VBA changes.

I wanted to do exactly as their example with a table columns shown as
tree.

Any help is greatly appreciated.

Robert



  #3  
Old December 5th, 2008, 12:46 AM posted to microsoft.public.access.gettingstarted
[email protected]
external usenet poster
 
Posts: 2
Default TreeView

"Arvin Meyer [MVP]" wrote in
:

If you put the database in a Trusted Location and set the references
as per his tutorial, it should work OK in 2007.


Thanks alot for your reply. I guess this points to Operator Error!
Will keep looking at what I might be doing wrong.
Robert
  #4  
Old December 5th, 2008, 01:58 PM posted to microsoft.public.access.gettingstarted
Albert D. Kallal
external usenet poster
 
Posts: 2,874
Default TreeView

"Robert" wrote in message
...
Any know if 2007 can make a tree view form?
This site has a good free example (http://www.datapigtechnologies.com/)
but doesn't seem to work with 2007. Maybe due to VBA changes.

I wanted to do exactly as their example with a table columns shown as
tree.

Any help is greatly appreciated.


I just tried that example in 2007....it works fine.....

Make sure your view the tutorial. In his example he using access 2000 in
which you need to set a dao reference. In 2007, we don't have to do that
anymore (yea!!). His code for SOME VERY STRANGE reason ALSO USES ADO, and
thus you need while looking at code go tools-references and setup the
reface to the common dialogs (as his video shows). You then need to setup a
reference to ADO (just choose

Microsoft ActiveX Data Objects (choose 2.6 or the latest you find).

I would think long and hard about introducing activeX controls into your
application. Often, in place of a drill down, I use two sub-forms as show in
these screen shots:

http://www.members.shaw.ca/AlbertKal...icles/Grid.htm

You can also in place of the common dialogs, use the VB6 treeview. In access
2003, the runtime does install the treeview, I have to assume that access
2007 (and runtime) does the same.

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:17 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.