PC Review


Reply
Thread Tools Rate Thread

can i create special form like task pane in access?

 
 
=?Utf-8?B?Z2FuaW0=?=
Guest
Posts: n/a
 
      21st Feb 2005
hi
I am workin in microsoft access for building database to my work, in this
database more than 28 form, operation the navigation is very hard by in the
switchboard, and i create form like the task pane but i can not programming
this form by maicrosoft access lik th task pane.

I am thankful for this service?
 
Reply With Quote
 
 
 
 
David C. Holley
Guest
Posts: n/a
 
      21st Feb 2005
Yes. You'll want to investigate the TreeView control.

http://msdn.microsoft.com/library/de...bjtreeview.asp

If you're building a Switchboard using it you obviously won't
neccessarily need to pull the data from a table, however doing so will
make thing easier in terms of maintenance.

Take note of the following...

-Each node.key value MUST be unique across the entire tree, not just
within children under the same parent. If you're using Autonumber to
create Id's for each record, its possible that a parent & child could
have the same key in the table. For example, if both the parent & child
were the first record in their respective tables (tblClients,
tblInvoices) this would cause a problem. (The next item can help with
this...)

-Each node.key MUST contain at least 1 letter. Because of the issue
above, in one particular TreeView that I have the node.key's have the
following scheme

CL:8
MA:8
ID:8

CL designates the record as a Client record
MA designates the record as a Master Account
ID designates the record as an invoice.

8 is the recordId in the respective underlying tables. This is all
independt of the underlying data and used to ensure unique keys in the
TV control. Since I've setup the prefix to always be 3 characters, the
following formula extract the value for the recordID for use in working
with the record. Mid(Node.Key, 4, Len(Node.Key) - 3)

-The information in the TreeView control DOES NOT have to relate. By
that I mean, you can have a three parent nodes - CUSTOMERS, VENDORS, and
EMPLOYEES. Think of this as a box on your desk that just happens to have
three different folders. They're there for simply for convinence. While
this may not sound useful, one use for it would be a telephone directory
where the telephone numbers exist in three different tables and you want
to bring the data all together.

-In keeping with the last item, the nodes can be setup to perform
different actions based on the value of the NODE.TAG and NODE.KEY. On my
invoicing form, under each CLIENT, I immediately display a child node
labeled NEW INVOICE. Clicking on this node creates a new invoice. Below
the NEW INVOICE node as sibling, I've listed the various client
invoices. Clicking on a client invoice displays the invoice.

-To put a nice litte image next to the text in the TreeView Control. Add
an ImageControl to the form and load it with the various images. (Look
in the toolBox under MORE CONTROLS (look for the button with the
elipses..). Think of the ImageControl as a holder for the various images
for use by the TV control. I doesn't display on the form at run. Once
created, you'll need to go into the TV control properties and set the
ImageList property to the name of the ImageList control that you
created. Since you're adding images, you'll need to find some images,
try ICON SEARCHER (http://www.icontool.com). The app looks for icons
already on your PC - IT"S WAAYYYYY COOOOLLL.

David H


ganim wrote:
> hi
> I am workin in microsoft access for building database to my work, in this
> database more than 28 form, operation the navigation is very hard by in the
> switchboard, and i create form like the task pane but i can not programming
> this form by maicrosoft access lik th task pane.
>
> I am thankful for this service?

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
special folder - task pane - other places =?Utf-8?B?SGFycnkgSHV0dG9u?= Windows XP Help 3 15th Jan 2007 04:57 AM
create custom layout and add to task pane =?Utf-8?B?Q2FuZGFjZQ==?= Microsoft Powerpoint 1 18th Nov 2005 04:44 PM
RE: create custom layout and add to task pane =?Utf-8?B?U2FuZHk=?= Microsoft Powerpoint 0 18th Nov 2005 04:25 PM
Is it possible to create a custom Task Pane view? =?Utf-8?B?TW9zZXMgQnVudGluZw==?= Microsoft Excel Programming 3 29th Sep 2005 09:34 PM
I want creat a task in a special form at a special exchangefolder =?iso-8859-1?Q?Cyrill_H=E4feli?= Microsoft Outlook VBA Programming 1 8th Sep 2003 12:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:42 PM.