Debian Codegraph @

whelp/TreeTableMenu.html

raw
1 <!-- $Id: TreeTableMenu.html,v 1.4 1999/05/03 16:45:00 fw Exp $ -->
2 <head>
3 <title>Table Menu in Tree Display</title>
4 </head>
5
6 <BODY BGCOLOR=#ffffff>
7
8 <h2>Table Menu in Tree Display</h2>
9
10 The file <B>wspec/table.menu.wrm</B> configures the optional
11 menu 'Tables...' in the <A HREF="Tree.html">Tree Display</A>.
12 <P>
13 A table in Acedb allows you to display the contents
14 of any number of fields from one or more classes
15 at the same time. This can be a very helpful way
16 to summarize data for your users. Acedb tables are
17 "live", meaning they respond to mouse clicks.
18 <P>
19 Definitions of tables can be written to file and loaded back in
20 at a later time. The <A HREF="Table_Maker.html">Table Maker</A>
21 can be used to create such a definition.<BR>
22 <P>
23 <B>wspec/table.menu.wrm</B> allows you to associate a pre-defined
24 query with a certain class. This places a menu button "Tables..." on all
25 Tree Display windows showing objects of that class.
26 <P>
27 Such table definitions will take one parameter - the name of the
28 object we're dealing with. If the user selects the menu item
29 from the 'Tables...' menu, the Table_Maker will be launched with the
30 first table parameter being the object name of the current Tree
31 display.
32 <P>
33
34 <H3>File format</H3>
35
36 Definition blocks in the file contain a set of menus items per class.
37 The definition blocks are separated by blank lines.<BR>
38 The first line in a definition block is the class name itself.
39 Everything after the class name on that line is ignored.
40 The lines that follow up to the blank line contain the file names
41 of the pre-defined Table_Maker queries. As only the last word
42 in the line is going to be used as the filename, the filename can be
43 preceded by words describing the table. For instance
44 "E_mail_addresses" in the example below.<BR>
45 All file names are relative to the database's main directory.
46 <P>
47 In version 4.8 the parsing of this file has been greatly improved and
48 there may be multiple definition blocks for class and definition
49 blocks may be empty, whereas in 4.7 and earlier an empty block
50 would have caused a fatal crash.
51 <P>
52
53
54 <H3>Example file</H3>
55 <PRE>
56 Person
57 E_mail_addresses : wquery/e_mail.def
58 </PRE>
59
60 <p>
61
62 to <a href="TOC.html">Table of Contents</a><p>
63
64 last edited: May 1999<p>
65
66 </BODY>