Documente Academic
Documente Profesional
Documente Cultură
Trademarks
CLIX, Intergraph, and RIS are registered trademarks of Intergraph Corporation. DBACCESS, DMANDS,
DM/CAPTURE, DM/MANAGER, DM/REDLINE, DMRS, DM/VIEW, I/NFM, and TD1 are trademarks of Intergraph
Corporation. All other brands and product names are trademarks of their respective owners.
Copyright
1994 Intergraph Corporation
All Rights Reserved
Including software, file formats, and audiovisual displays; may be used pursuant to applicable software license
agreement; contains confidential and proprietary information of Intergraph and/or third parties which is protected
by copyright and trade secret law and may not be provided or otherwise made available without proper
authorization.
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of
The Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 or subparagraphs (c) (1) and
(2) of Commercial Computer Software Restricted Rights at 48 CFR 52.227-19, as applicable.
Unpublished rights reserved under the copyright laws of the United States.
Intergraph Corporation
Huntsville, Alabama 35894-0001
FAX
Electronic Mail
Training Registration
You can access the TIM and Database Systems Product Training Directory on-line using the
Intergraph On-line Reference Library (I/ORL) CD.
Order Desk
7/93
Table of Contents v
Table of Contents
__________________________________________________________________________________________________________________________________________________
vi Table of Contents
Table of Contents
__________________________________________________________________________________________________________________________________________________
1.
2.
1-3
1.1
1-6
1.1.1
1-6
2-3
2.1
2.2
2.3
2.4
2.5
2-4
2-5
2-5
2-5
2-6
2.5.1
2-6
2-7
2.6.1
2.6.2
2.6.3
2-7
2-8
2-8
3-3
3.1
3.2
3-3
3-4
3.2.1
3-5
3-5
3-5
Dialogs ...................................................................................................................
4-3
4.1
4-3
4.1.1
4-3
4.1.1.1
4.1.1.2
4.1.1.3
4-4
4-5
4-5
2.6
3.
3.3
3.4
4.
4.1.2
4-5
4-6
4-6
4-7
4.4.1
4-8
Reports ..................................................................................................................
5-3
5.1
5-3
5.1.1
5.1.2
5-3
5-5
5.1.2.1
5-6
5-6
5-7
6.
6-3
7.
7-3
7-3
8-3
8-3
9-3
9.1
9.2
9-3
9-5
9.2.1
9-5
9-7
10.
10 - 3
11.
11 - 3
11.1
11 - 3
12 - 3
12.1
12.2
12.3
12 - 4
12 - 4
12 - 5
4.2
4.3
4.4
5.
5.2
5.3
8.
9.
9.3
12.
Table of Contents ix
12.3.1
12.4
12 - 5
12 - 7
12.4.1
12 - 7
13.
12 - 10
13 - 3
A-1
A-3
A-5
A-7
A - 10
A - 12
A - 15
A - 17
A - 19
A - 21
B-1
B-4
C-1
C-3
C-4
C-6
C-8
C-9
C - 11
C - 12
C - 13
C - 14
C - 18
C - 19
C - 21
C - 23
C - 25
C - 27
C - 29
C - 35
C - 36
C - 38
C - 39
C - 40
C - 42
C - 44
D-1
D-3
D-5
D - 11
Table of Contents
D - 12
D - 13
D - 15
D - 17
D - 19
D - 20
D - 21
D - 23
D - 24
D - 26
D - 27
D - 28
D - 30
D - 32
D - 34
D - 36
D - 38
D - 40
D - 43
D - 45
D - 47
D - 49
D - 51
D - 53
D - 55
D - 57
D - 59
D - 61
D - 63
D - 65
D - 67
D - 69
D - 71
D - 72
D - 73
E-1
E-5
E-7
E - 10
E - 11
E - 13
E - 16
E - 18
E - 19
E - 21
E - 23
E - 24
E - 26
F-1
F-2
Table of Contents xi
F-4
F-6
F-9
F - 11
F - 12
F - 13
F - 15
F - 16
F - 18
F - 19
F - 20
F - 22
G-1
G-2
G-3
G-4
G-5
G-6
G-7
G-9
G - 10
G - 12
G - 14
G - 17
G - 19
H-1
I-1
I-2
I-4
I-5
I-7
K-1
K-2
L-1
L-3
L-4
L-7
L-9
L - 11
L - 12
L - 14
L - 15
L - 18
L - 19
M-1
M-3
M-4
M-8
M - 10
M - 12
M - 13
M - 15
M - 18
M - 19
M - 23
N-1
N-2
N-4
N-6
N-9
N - 11
O-1
P-1
P-3
P-5
P-6
P-8
P - 10
P - 12
P - 14
P - 22
P - 25
P - 27
P - 28
P - 30
P - 31
P - 32
P - 34
Q-1
Q-3
Q-5
R-1
R-3
R-5
R-6
R-8
R - 10
R - 12
R - 15
R - 17
R - 18
R - 19
R - 20
R - 22
R - 24
R - 26
R - 29
R - 31
R - 32
R - 72
R - 74
S-1
S-3
S-5
S-7
S-9
S - 11
S - 13
S - 15
S - 16
S - 18
S - 19
S - 23
S - 25
S - 27
S - 28
S - 30
S - 32
T-1
T-3
T-4
T-5
T-7
T-8
U-1
U-2
U-3
U-4
U-5
U-6
U-8
U-9
U - 10
U - 12
U - 13
U - 15
U - 17
U - 19
U - 22
W-1
W-3
W-4
W-6
W-7
W-9
W - 10
Z-1
Z-3
Z-4
Z-6
Appendix A:
AA - 3
Appendix B:
BB - 3
BB - 4
BB - 4
B.2.1
B.2.2
B.2.3
BB - 4
BB - 4
BB - 6
BB - 6
BB - 8
B.1
B.2
B.3
B.4
Appendix C:
CC - 3
Appendix D:
DD - 3
Appendix E:
EE - 3
Glossary .......................................................................................................................
GL - 3
Index ............................................................................................................................
IN - 3
__________________________________________________________________________________________________________________________________________________
1-2
1.
__________________________________________________________________________________________________________________________________________________
Document Purpose
This document describes the functions and commands in the Intergraph DM/DB Access
Administrator Toolkit product. This document is intended for database system
administrators.
Document Prerequisites
This document assumes that you:
Understand SQL database terminology and structure.
Are familiar with the Intergraph Relational Interface System (RIS).
1-4
Related Documentation
You can refer to the following documents for additional information:
DNA1001
DNA1116
DNA0016
DDA0013
Additional Information
The text files containing information about the product are delivered with DM/DB Access.
The README.TXT file is located in the c:\win32app\ingr\dba directory. Located in
c:\win32app\ingr\dba\doc directory are other text files containing information.
Document Conventions
Filenames and directory paths appear in italic typeface. However, the italic typeface is
also used for emphasis of new words or important phrases. For example:
c:\windows
Command names, menu names, tools, system prompts and messages, and keys may
appear in boldface type. For example:
File menu
OR
Press Enter
The word mouse refers to the 2-button or 3-button mouse.
The word select means to select a command by pressing the left mouse button over a
menu command or by pressing the Alt key and the underlined character
simultaneously.
The word choose means to choose a button or icon by pressing the left mouse button
over a Toolbar button, or application icon.
The word reset means to terminate a command initiated with the mouse. Reset by
pressing the right mouse button.
The word identify means to define an area or place graphic elements in a graphics file.
For PCs, identify with the left mouse button.
The phrase key in generally means to enter data into a field on a dialog box. To
advance to the next field, use the Tab key.
Do not use the Enter key to advance to the next field. This key is mostly
used as the default key to accept a dialog box instead of pressing the OK
button.
System key-ins, keywords, and programming code segments, appear in monospaced
type. For example:
main ( )
OR
commit
In actual usage, keywords can be in either upper or lowercase.
Words that appear in angle brackets, < >, are identifiers or names that you must
supply, or dynamic information that can change for each error message. For example:
ERROR: Error opening the file <filename>
Phrases in square brackets, [ ], are optional phrases.
Curly braces contain several options (used in conjunction with a logical OR symbol ( | ))
or phrases that can be repeated (used in conjunction with [, ...]). A comma followed by a
series of three periods in square brackets ([, ...]) indicates that the last phrase contained
within curly braces ({}), or the last item, can be repeated numerous times (separated by
commas).
For example: { <column> <data type> } [, ...] means that numerous column names and
associated data types can be specified (separated by commas).
The logical or symbol ( | ) separates phrases or keywords within curly braces ({}) that
can be used alone but not together.
For example: { user | database } means that either the user keyword or the
database keyword can be specified, but not both.
This symbol notes important information.
This symbol cautions about operations that can cause limited damage.
1-6
This symbol warns about operations that can cause severe damage.
Use
To
Contents
Search
Back
History
Find
<<
>>
1-8
Getting Started 2 - 1
Getting Started
__________________________________________________________________________________________________________________________________________________
2-2
Getting Started
Getting Started 2 - 3
2.
__________________________________________________________________________________________________________________________________________________
Getting Started
DM/DB Access is a relational database tool that lets you access ANSI/ISO SQL-standard
databases supported by the Intergraph Relational Interface System (RIS). DM/DB Access
can create reports and dialogs that link otherwise incompatible information: CAD files,
ASCII files, scanned documents and drawings, and RIS-supported databases.
DM/DB Access is comprised of the DM/DB Access Administrator Toolkit and a DM/DB Access
runtime product.
The DM/DB Access Administrator Toolkit is designed for the system database
administrator or person who controls the databases on a network. It lets you design
custom dialogs and reports to determine the levels of access different users can have to
the databases on your network.
The DM/DB Access runtime product provides the software required to run dialogs and
reports that are generated with the DB Access Administrator Toolkit.
One person can use the DM/DB Access Administrator Toolkit to generate custom dialogs for
all database users on a network. Other workstations on the network require only the DB
Access runtime product to use the dialogs to access and manipulate databases across the
network.
DM/DB Access also lets you design and run reports on alphanumeric user data, binary, and
ASCII data. You can customize user data reports that are provided with Intergraph
applications.
For more information, see these sections:
2.1
2.2
2.3
Creating a Database
2.4
2.5
Templates
2.6
Join Columns
2.7
Edit Relations
2-4
Getting Started
Getting Started 2 - 5
You can set the environment variable DBA_SCHEMA in your propertities under the
command line on c: drive or the autoexec.bat file.
See the section DB Access Environment Variables for information on using DB Access
environment variables.
2.5 Templates
DB Access stores various types of output as templates. For example, you can save reports
created with the Report Builder as report templates in a template library. Templates can be
used repeatedly or they can serve as the starting point for new templates.
2-6
Getting Started
Getting Started 2 - 7
Using the -l option when you invoke DB Access from the command line under properties
on c: drive. For example:
dba -l <library>
2.
3.
In the DBA_LIB environment variable. (You can also specify a list of template libraries
in the DBA_LIB_LIST environment variable.)
2-8
Getting Started
The primary schema in a multi-schema join must have select access to the
secondary schemas tables. Use the RIS GRANT command to grant select
access.
If you select Yes, the resulting universe includes all occurrences from the primary table
whether or not it has a corresponding row in the secondary (join) table.
If you select No, the resulting universe includes only those occurrences for which the
join column values are equal (for example, parts.part_num = sale.part_num).
In general, outer joins process faster than standard joins across schemas. Standard joins
process faster if the tables are in the same schema. Query criteria for the secondary table
are ignored for outer joins, but used for standard joins.
Getting Started 2 - 9
The following commands are available from the Edit Relations dialog:
Template The name of the relations template.
Description The description of the relations template.
Load Relations Displays the Load from Library dialog for loading an existing
relations template.
Save Relations Displays the Save Template dialog for saving a new or changed
relations template.
Add Join Displays the Join Columns dialog for adding new joins.
Delete Join Deletes a join, by selecting the connecting line between the join
columns.
Move Table Aligns the table fields as wanted (added joins are placed
automatically).
Delete Table Deletes a table and all associated joins.
2 - 10
Getting Started
Application Builder 3 - 1
Application Builder
__________________________________________________________________________________________________________________________________________________
3-2
Application Builder
Application Builder 3 - 3
3.
__________________________________________________________________________________________________________________________________________________
Application Builder
DB Access provides Windows users with the tools necessary to build an application with the
true Windows look-and-feel (LAF). The Application Builder lets you define and edit a
basic application, and the VI API lets you to modify the application at runtime. See the DBA
Programmers Guide or on-line script help from the Edit Script dialog for a description of
the VI API.
3-4
Application Builder
Pulldown Menus
Palettes and their commands.
Palette script.
Initial command settings (checked, enabled).
Command scripts.
Toolbars
Toolbar script.
Gadgets (buttons, fields).
Gadget scripts.
Status Bars
Fields.
Dialog Boxes
All I/Forms for Windows gadgets, plus I/Forms for Windows extensions.
Dialog script.
Gadget scripts.
Modal as opposed to.
Application Builder 3 - 5
2.
3.
4.
3-6
Application Builder
Use the File pulldown menu to select Open, New Default, or New Blank.
Open
The Open command lets you load any application component for editing or processing.
Application Builder 3 - 7
New Default
The New Default command gives you a choice of a new application component with default
components.
New Blank
The New Default command gives you a choice of a new empty application component.
3-8
Application Builder
Creating a Palette
Select the File pulldown menu and select New Blank, then Palette and the Edit Palette
dialog appeara.
Application Builder 3 - 9
Title Title of the palette. The title appears on the menu bar, or on the parent
palette if this is a cascading palette.
Palette Script The name of the script is invoked each time you choose a command
from the palette.
Initial Script The name of the script is invoked each time the palette is displayed.
Creating a Toolbar
Select the File pulldown menu and select New Blank, then Toolbar and the Toolbar
dialog appears.
3 - 10
Application Builder
Application Builder 3 - 11
Double click on the dialog and the Status bar dialog appears.
Typeface The typeface that you choose for the status bar fields.
Size The body size that you choose for the staus bar fields.
Bold A check box determining whether the status bar text is bolded.
Italic A check box determining whether the status bar text is italicized.
Percentages The percentage of the total each status bar field occupies. These
numbers must total 100.
3 - 12
Application Builder
Creating a Application
Select the File pulldown menu and select New Blank, then Application and the Blank
dialog appears.
Double click on the dialog and the Application Styles dialog appears.
Title The title of the application. This text appears on the title bar.
Application Builder 3 - 13
Initial Script A script that is invoked whenever the application runs (using the -a
command line option or calling VIapp_display.)
Minimize A check box that determines whether the application has a minimize
control.
Maximize A check box that determines whether the application has a maximize
control.
Vertical Scrollbar A check box that determines whether the application has a
vertical scroll bar, so that the client region can be scrolled vertically.
Horizontal Scrollbar A check box that determines whether the application has a
vertical scroll bar, so that the client region can be scrolled horizontally.
Control Menu A check box that determines whether the application has a control
menu, so that common window commands can be accessed.
X Origin This value can be keyed in, or the window will automatically.
Y Origin This value can be keyed in, or the window will automatically.
Width This value can be dragged or resized to the desired location or size.
Height This value can be dragged or resized to the desired location or size.
Menus A list of menu bar palettes for the current application. When new palettes
are selected, they are added above the current palette, or at the bottom of the list.
3 - 14
Application Builder
Dialogs 4 - 1
Dialogs
__________________________________________________________________________________________________________________________________________________
4-2
Dialogs
Dialogs 4 - 3
4.
__________________________________________________________________________________________________________________________________________________
Dialogs
A dialog consists of gadgets placed on a form. A gadget is any field, button, text, and so on
that you can place on a dialog. Most of the gadgets that you can place using the Dialog
Builder are found on the Database Edit dialog. If you have used Database Edit, you are
familiar with the types of gadgets you can use to design your own dialogs.
For more information, see these sections:
4.1
Dialog Types
4.2
4.3
Dialog Scripts
4.4
4.5
Processing Dialogs
4-4
Dialogs
The following sections list the default dialog gadgets. You can place these gadgets, as well as
others not available on a default dialog, by selecting Place Gadget (Dialog Builder) from
the Dialog Builder panel dialog. Then select the appropriate command group button
(Database Utilities, Graphic Utilities, General Utilities, or Cosmetic Graphics). For
more information see the section Place Gadget (Dialog Builder).
Dialogs 4 - 5
4-6
Dialogs
Dialogs 4 - 7
Specify scripts to execute before and/or after a gadget is processed through the Gadget
Characteristics command.
Place a gadget associated with a specific script through the Script command.
The DBA Dialog Builder Toolbox appears on the screen, which can be moved or
minimized.
4-8
Dialogs
Text Box This command places a Text Box button on the current dialog, for
text entry/display.
Multi-Column Field This command places a Multi-Column Field button on
the current dialog, for multi-column text entry/selection/display.
List Box This command places a List Box button on the current dialog, for
text selection.
Grid This command places a Grid on the current dialog, for multi-column text
selection.
Combo Box This command places a Combo Box on the current dialog.
Field Plus This command places a Field Plus on the current dialog. A Field
Plus gadget is a custom control that offers full I/Forms functionality.
Check Box/Radio Button This command places a Checklist Box or Radio
Button on the current dialog, to display parameter states (on/off).
Dialogs 4 - 9
4 - 10
Dialogs
Reports 5 - 1
Reports
__________________________________________________________________________________________________________________________________________________
5-2
Reports
Reports 5 - 3
5.
__________________________________________________________________________________________________________________________________________________
Reports
DB Access lets you create, load, modify, and save report templates. You can specify the
layout of different types of lines and fields within the report template. When the template is
processed, DB Access reads information from a relational database, ASCII file, binary file, or
element list file and formats it to your specifications.
For more information, see these sections:
5.1
Report Types
5.2
5.3
Processing Reports
5-4
Reports
In a report template, the column on the left indicates the line type. A
represents alphanumeric data, I represents integer data, F represents floatingpoint data, D represents derived field, and C represents a coded column field.
The number of As, Is, Fs, Ds, or Cs represents the field length for the column in
the database.
A default template has the following characteristics:
Sort criteria
One sort key (the first selected column of the table)
Top lines
Title line (the table name)
Date, Time, and Page line
Column Header lines (underlined column names)
Body lines
Detail line. Printed once for each row in the input universe, it contains the selected
columns. You can specify 1 to 2000 characters per line for the default report on the
Edit Report Parameters dialog. If the selected columns overrun the current
characters per line, the line is extended to fit all selected columns.
In addition, the line contains a counter field which counts rows and resets when sort
key 1 breaks or changes.
Reports 5 - 5
Subtotal line. Printed when sort key 1 breaks; it totals, prints, and resets the
counter field and totals, prints, and resets any numeric columns included in the
report.
Final line
The system totals and prints the counter field, and totals and prints any numeric
columns included in the report in this line.
For more information, see the section New Default (Report Builder).
5-6
Reports
For more information, see these sections Join Columns, New Blank (Report Builder), and
Modify Sort.
The Report Builder dialog displays on top of the DB Access main dialog.
Edit Script 6 - 1
Edit Script
__________________________________________________________________________________________________________________________________________________
6-2
Edit Script
Edit Script 6 - 3
6.
__________________________________________________________________________________________________________________________________________________
Edit Script
The Edit Script button on the DB Access main dialog calls the Edit Script dialog. The
Edit Script dialog lets you create or edit scripts. All major functions designed for runtime
users can be manipulated by scripts. In addition, System commands can be included within
scripts.
Scripting assumes a knowledge of the C programming language. In fact, the structure of a
script is in the form of a C function. For descriptions of supported functions, see the DB
Access Programmers Guide or the c:\win32app\ingr\dba\doc\script.doc file.
Dialog Options
When you select Edit Script, the Edit Script dialog appears.
Name Specifies the name of the script. The name of the script template must be the
same as the function name.
6-4
Edit Script
Edit Script 6 - 5
Select a line to make it a marker line. The text field cannot be in delete or edit mode.
(That is, the Delete, Undelete, and Edit buttons are not depressed.)
Edit This button places the text field in edit mode. You can key in or edit scripts.
Use Editor This button invokes the preferred editor (defined by the EDITOR
environment variable). If EDITOR is not defined, Notepad is the default editor.
The name of the current editor appears in the field to the right of the Use Editor
button. To change editors, select and clear this field, and key in the name of the
new editor.
Options Button
When you select the Script Options button, the Script Options dialog appears.
Run Current Script This button runs the current script in the editor and accepts
any arguments. Some scripts, such as one that requires input from a dialog, cannot run
with this command. The Arguments field is used to place any literal arguments that
normally appear inside the parentheses of a function call. Separate the literal
arguments with commas, but do not key in the parentheses.
Delete Globals This button deletes all global variables from memory. This is useful
if you need to change a global type.
Run Initial Script By default, this button runs the script specified by
DBA_INITIAL_SCRIPT. You can specify another script in the Initial Script field.
(Initial scripts can be used to initialize global variables and require no arguments.)
This button also deletes all global variables.
Verbose Errors and Warnings The gadgets in this area let you manipulate
verbose error checking mode. Use of this mode eliminates the need to check status
returns in script function calls.
6-6
Edit Script
Edit Settings. This button calls the Verbose Error Settings dialog, which lets
you select which function types undergo verbose error checking (standard C, DB
Access, I/Forms, I/NFM, RIS, or all). These settings can be saved and loaded as
design options. For more information see the section Save Options.
Off/On. This toggle turns verbose error checking mode off or on.
Script Debugger
The Script Debugger is a troubleshooting tool for scripts. You can use the Script Debugger
to:
Set breakpoints to stop a script at specified points in processing.
Review the variables associated with a script.
Set values for these variables.
Set verbose error checking mode options.
Return to the Edit Script dialog.
When any dialogs associated with the Script Debugger are collapsed, a
Debugger icon appears on the screen.
Select the icon to uncollapse the Script Debugger dialog.
Edit Script 6 - 7
Edit Script This button returns you to the Edit Script dialog. The last script
function displayed in the Script Debugger text field appears in the Edit Script text
field.
Single Step This button steps to the next line of the script code being debugged.
Any function called is executed.
Step Into When a script calls a user-defined script function, this button displays the
called function. Execution stops on the first line of the called function. Step Into acts
as a single step on button functions and dynamically loaded functions.
Breakpoints This button calls the Set/Review Breakpoints dialog. For more
information, see the section Set/Review Breakpoints.
Go This button runs the script to completion or to the next breakpoint.
Continue This button runs the current function to completion. Execution stops on
the line of script following the point where the function is called.
Variables This button calls the Review Variables dialog. For more information,
see the section Review Variables.
Abort This button stops execution of the current script and any other gadget
processing which is pending.
6-8
Edit Script
Visual Script Trace This toggle turns the Visual Script Trace on and off. When
the toggle is On, the debugger displays functions as they are called, highlighting the
line being executed.
Break on Script Gadget This toggle sets the Break on Script switch. When the
toggle is On and a gadget (or report line, dialog script, or notify script) that has an
associated script is activated, the debugger becomes uncollapsed. Script processing is
suspended just as if a breakpoint had been set.
Verbose Errors and Warnings The gadgets in this area let you manipulate
verbose error checking mode. Use of this mode eliminates the need to check status
returns in script function calls.
Edit Settings. This button calls the Verbose Error Settings dialog, which lets
you select which function types undergo verbose error checking (standard C, DB
Access, I/Forms, I/NFM, RIS, or all). These settings can be saved and loaded as
design options (see the section Save Options).
Off/On. This toggle turns verbose error checking mode off or on.
Breakpoints This toggle turns all breakpoints on (Enabled) or off (Disabled)
without calling the Set/Review Breakpoints dialog. This does not affect the
automatic break on gadget/line scripts.
Name This field specifies the script function being debugged.
Description This field contains a description of the script function.
Edit Script 6 - 9
Set/Review Breakpoints
When you select Breakpoints from the Script Debugger dialog, the Set/Review
Breakpoints dialog appears.
Break on Function This field displays the script templates available from the
current library. You can select functions from this list. Script processing stops when a
selected function is called.
Clear All Breakpoints This button clears all functions and line breakpoints.
Undo Changes This button resets all breakpoints to the way they were when the
Set/Review Breakpoints dialog was invoked.
Function This field specifies which functions line breakpoints appear in the Break
on Line field. You can key in a function or select one using the list indicator.
Edit Line Breakpoints This button starts Add/Remove Line Breakpoints mode.
In this mode, you can select lines displayed in the Script Debugger dialog text field to
add them as line breakpoints (displayed in the Break on Line field). You can remove
the line breakpoint by deselecting the line (that is, selecting the line a second time) on
the Script Debugger dialog.
Delete Line Breakpoints This button removes line breakpoints from lines in the
Break on Line field. Select Delete Line Breakpoints. Then select the lines to
remove breakpoints.
6 - 10
Edit Script
Break on Line This field specifies the lines of a function on which the Script
Debugger stops processing.
Review Variables
When you select Variables from the Script Debugger dialog, the Review Variables
dialog appears.
Function This field specifies which functions variables are currently displayed.
You can key in a function or select one using the list indicator.
Name This field specifies the name of the variable.
Type This field gives the type of the variable, its level of indirection, if its an array
and the numbers and sizes of dimensions.
Value This field specifies the value of the variable.
Most pointers are displayed as two integers separated by a colon. Some pointers, such
as dba_errtxt, appear as a single integer.
To change a variables value, position the cursor on the value to be changed and key in
a new value.
Template Librarian 7 - 1
Template Librarian
__________________________________________________________________________________________________________________________________________________
7-2
Template Librarian
Template Librarian 7 - 3
7.
__________________________________________________________________________________________________________________________________________________
Template Librarian
The Template Librarian (templib) is a standalone utility. It is an integrated part of the
administrator which provides many of the features of templib, DB Access template libraries.
You can use the Template Librarian to:
List the templates in a specified template library.
Copy templates from one template library to another.
Extract a template into a text file (only available from templib).
Delete a template.
Compress a template library to recover space after templates have been replaced or
deleted.
The Template Librarian is an embedded DBA application. Most of the code
behind it are scripts. These dialogs and scripts can be customized and added to
by the user.
7-4
Template Librarian
Before you can copy, delete, or move libraries, you must select the libraries necessary for the
operation. To select one library, just click on it. To select more than one, hold the Ctrl key
down when using the mouse.
Copy Libraries
To copy a library select Template and then select Copy from the pulldown menu.
Template Librarian 7 - 5
Copy selected templates to The name of the library to copy to. If it does not exist,
you are prompted to create it.
Browse The Browse button can be used to activate the standard Open dialog to
search for the library to copy to.
Replace templates The Replace templates option must be checked for a DBA
existing template to be overwritten.
Move Libraries
To move a library select Template and then select Move from the pulldown menu.
Move selected templates to The name of the library to move to. If it does not
exist, you are prompted to create it.
Browse The Browse button can be used to activate the standard Open dialog to
search for the library to move to.
Replace templates The Replace templates option must be checked for a DBA
existing template to be overwritten.
7-6
Template Librarian
Delete
When you select Template, then Delete, a confirmation dialog box displays.
Undelete
To retrieve previous versions of a template or recover a template that has been deleted, you
first have to see the deleted/modified templates. Then choose the templates to undelete.
(The Undelete command is disabled until this point). Select Undelete, the template is
moved from the Deleted list and becomes visible again when you do another Show Deleted
(to turn the mode off). If there is already a nondeleted template in the library with the same
name and type, it becomes deleted (they are basically swapped).
All deleted templates are permanently removed (and do not show up in the
deleted list) if a Compress is performed on the template library.
Select All
When you select Template, then Select All, the template librarian marks everything in the
Current List of Templates.
Template Librarian 7 - 7
Unselect All
When you select Template, then Unselect All, the template librarian undoes the Select
All command.
Template Types
To see the template types, select View and then select Template Type from the pulldown
menu.
7-8
Template Librarian
When you select Template Types, the Template Types Filter dialog appears.
This is used to control what types of templates are shown in the Template List.
Sort By
To sort a library select View and then select Sort By from the pulldown menu.
Template Librarian 7 - 9
Show Deleted
To look at the deleted templates, select View and then select Show Deleted from the
pulldown menu.
When you select Show Deleted, a list of deleted templates dialog appears.
Compress
To compress the library, select Tools and then select Compress from the pulldown menu.
7 - 10
Template Librarian
Bulk Compile
To do a bulk script compile, select Tools and then select Bulk Compile from the pulldown
menu.
When you select Bulk Compile, the Bulk Script Compiler dialog appears.
This compiles all script templates in all the libraries in the DBA_LIB_LIST into stored script
objects. For information see the section Store Compiled Scripts and Object libraries. If any
of the scripts do not compile, use the Review Errors button to view any errors.
Template Librarian 7 - 11
Cross Reference
To generate a cross reference report, select Tools and then select Cross Reference from the
pulldown menu.
When you select Cross Reference, the Cross Reference dialog appears.
Object Template Library This field has the library name that is created in the
bulk script compile command.
Report Output Filename This is what the report file is named.
Report Description This field gives you a description of the report to be run.
A cross reference report is really a DBA ASCII Report. You can choose which cross reference
you want to generate:
FUNCTION_REF Lists each function and indicates which scripts call it.
FUNC_SYMBOL_DUMP Lists each function, along with all automatic variables,
and global variables for each function name.
7 - 12
Template Librarian
GLOBAL_REF Lists each global variable and indicates which scripts reference
them.
INCLUDE_REF Lists each include file/include template and which scripts include
them.
All these reports can be customized and new ones added. For more information
see the file c:\win32app\ingr\dba\support\tl.tlb.
Bitmap Loader 8 - 1
Bitmap Loader
__________________________________________________________________________________________________________________________________________________
8-2
Bitmap Loader
Bitmap Loader 8 - 3
8.
__________________________________________________________________________________________________________________________________________________
Bitmap Loader
The Bitmap Loader utility allows standard.bmp images to be loaded from the disk and
stored in your Template Library.
8-4
Bitmap Loader
2.
3.
OR
Select Bitmap templates from load from library dialog for viewing.
Once bitmaps have been added to the template library, they can be placed on toolbars and
dialogs.
Database Edit 9 - 1
Database Edit
__________________________________________________________________________________________________________________________________________________
9-2
Database Edit
Database Edit 9 - 3
9.
__________________________________________________________________________________________________________________________________________________
Database Edit
The Database Edit function lets you review, add, delete, or modify rows in an attached
relational database. You can manipulate individual rows or a universe of rows. You can
process report templates from Database Edit.
For more information, see these sections:
9.1
9.2
9.3
9-4
Database Edit
Initialize Query This button initializes (clears) the current query criteria. For
more information, see sections Creating and Using Query Criteria and Initialize Query
(Database Edit).
Edit Query This button lets you edit or save the current query criteria, or load a
query criteria template from a template library. For more information, see sections
Creating and Using Query Criteria and Edit Query (Database Edit).
Process Query This button finds all rows in the current table that meet the query
criteria. If no query criteria exists, Process Query returns all rows in the current
table. For more information see sections, Creating and Using Query Criteria and
Process Query (Database Edit).
Current Row This area lets you determine which row in the universe is current.
For more information, see the section Current Row (Database Edit).
Add Query This area is used to set up query criteria, values used to search the
database for rows with common information. For more information, see sections
Creating and Using Query Criteria and Add Query (Database Edit).
Edit Code This button lets you display, edit, and insert new code list values in a
code list. You can also add a code list value to the current row. For more information,
see sections DB Access Reserved Tables.
Restore Defaults This button restores the default values of the displayed columns.
It erases the display of the current row. For more information, see the section Restore
Defaults (Database Edit).
Change All This button lets you change the value for one or more columns for all
rows in the current universe. For more information, see sections Editing Database
Values and Change All (Database Edit).
Delete All This button deletes all rows in the current universe from the database
upon verification. For more information, see the section Delete All (Database Edit).
Fields On/Off This button toggles all column fields off or on. Off fields are not
included in universe reviews. You can toggle individual fields on or off by selecting the
column name for the field on the Database Edit dialog. For more information, see the
section Fields On/Off (Database Edit).
Review This button generates a formatted column-by-column listing of the current
universe. For more information, see the section Review (Database Edit).
Report This button calls the Process Reports dialog, which lets you load and
process a report template. You can list the report output to the screen or print the
output file. For more information, see the section Report (Database Edit).
Key Column This button puts the dialog in key column mode, which overrides the
key-in mode for database fields. For more information, see the section Key Column
(Database Edit).
Database Edit 9 - 5
Change Row This button puts the dialog in change row mode, which overrides the
key-in mode for key column, add query, and update active fields. For more information,
see sections Editing Database Values and Change Row (Database Edit).
Delete Row This button deletes the current row from the database upon
verification. For more information, see the section Delete Row (Database Edit).
Update Active This button lets you enter data in the multiple column field which is
used in creating a new row. Select Insert Row to insert the displayed data as a row in
the database. For more information, see the section Update Active (Database Edit).
Insert Row This button inserts a new row in the database, based on the currently
displayed column values. You can select Update Active, enter the column values you
want for a row, and select Insert Row to create the new row. For more information,
see sections Insert Row (Database Edit) and Update Active (Database Edit).
Update Row This button updates the current row based on the currently displayed
columns values. For more information, see the section Update Row (Database Edit).
9-6
Database Edit
Operating Sequence
1.
Select Initialize Query from the Database Edit dialog to clear any existing query
criteria.
The message Query initialized appears.
2.
b.
c.
Select the list indicator on the relational operators field. Select the substring
search ( !! ) operator from the displayed list.
d.
Select the mfr_name column field. Clear the column field and key in Tire.
The message Query added appears.
3.
Repeat the process to add a substring search for 15 in the description1 field.
4.
Add query criteria in the price field for less than ( < ) 100. (This requires you to select a
new relational operator.)
5.
a.
If there are errors in the query criteria, select the appropriate line and make the
needed edits.
b.
Select OK to accept the query criteria and to exit the Edit Query dialog.
Database Edit 9 - 7
6.
7.
Use the Current Row functions to page through the universe, or select Review to see
a formatted listing of the universe.
9-8
Database Edit
SQL Statements 10 - 1
SQL Statements
__________________________________________________________________________________________________________________________________________________
10 - 2
SQL Statements
SQL Statements 10 - 3
10.
__________________________________________________________________________________________________________________________________________________
SQL Statements
The SQL Statements button on the DB Access main dialog calls the SQL Statements
dialog. You can enter and process SQL statements, and save them as templates. You can
load SQL templates to process or edit. You can load an ASCII file to edit and process.
In general, you should use the SQL Statements dialog to process Data
Manipulation Language (DML) statements (such as delete, insert, select, and
update). Use the RIS Schema Manager in the Schema Edit utility for functions
performed by Data Definition Language (DDL) statements (such as create, alter,
and drop).
The Structured Query Language (SQL) is an ANSI standard language for creating and
manipulating databases. For information on RIS-supported SQL statements, see the
Relational Interface System (RIS) for Windows NT SQL Users Guide.
Dialog Options
When you select SQL Statements, the SQL Statements dialog appears.
SQL Statement Field This field specifies the current SQL statements. You can key
in one or more statements. You can break a statement over more than one line by
inserting a Return between words. If there are multiple SQL statements, terminate
each statement with a semicolon (;).
10 - 4
SQL Statements
SQL Statements 10 - 5
10 - 6
SQL Statements
Schema Edit 11 - 1
Schema Edit
__________________________________________________________________________________________________________________________________________________
11 - 2
Schema Edit
Schema Edit 11 - 3
11.
__________________________________________________________________________________________________________________________________________________
Schema Edit
The Schema Edit on the DB Access menu bar gives a pulldown menu to choose the different
options. You can create, modify, and drop schemas or tables, and grant or revoke RIS
privileges.
RIS Schema Manager This button calls the RIS Schema Manager. You can create,
review, and manipulate schemas and tables, and review and manipulate the schema
file. For more information, see the section RIS Schema Manager.
Create/Alter Table This button lets you create a new table or alter an existing one.
For more information, see the section Create/Alter Table (Schema Edit).
Drop Table This button lets you drop a table definition from the specified schema.
For more information, see the section Drop Table (Schema Edit).
Build Schema List This button lets you build a list of schemas for use with
multiple-schema dialogs and reports. For more information, see the section Build
Schema List (Schema Edit).
Edit Relations This button lets you graphically depict relations between the tables
in your database. For more information, see the section Edit Relations.
Edit Privileges This button lets you grant or revoke table privileges for any
available RIS schemas. For more information, see the section Edit Privileges (Schema
Edit).
11 - 4
Schema Edit
DB Access Graphics 12 - 1
DB Access Graphics
__________________________________________________________________________________________________________________________________________________
12 - 2
DB Access Graphics
DB Access Graphics 12 - 3
12.
__________________________________________________________________________________________________________________________________________________
DB Access Graphics
DB Access provides two methods for working in graphics.
Vector graphics Use MicroStation design files.
Raster graphics All DM/View file formats are supported.
For more information, see these sections:
12.1
12.2
12.3
12.4
12 - 4
DB Access Graphics
Review Element This button reviews the linkages for a graphic element in a design
or raster file. See the section Review Element (Database Edit).
Attach Linkage This button creates a linkage that associates the current row with
a graphic element in the design or raster file. See the section Attach DB Linkage
(Database Edit).
Attach DAP Linkage This button creates a linkage that associates the current row
with a text node in the design file. This command works only in vector graphics. See
the section Attach DAP Link (Database Edit).
Remove Linkage This button lets you select a graphic element and remove any
existing linkage. See the section Remove Linkage (Database Edit).
Remove Fence This button lets you remove the linkages on any graphic elements
contained within a fence you place. See the section Remove Fence (Database Edit).
Locate Graphics This button locates the graphic element that is linked to the
current row. If a linkage exists, DB Access locates the graphic element, centers it in the
specified window, and highlights it. See the section Locate Graphics (Database Edit).
Linkage Mode This field specifies the type of linkage created with the Attach
Linkage function. The values for a linkage are New, Existing, Info, and None. See the
section Attach DB Linkage (Database Edit).
Delete Row This toggle determines if the database row associated with a graphic
element is deleted when the linkage is removed. See sections Remove Linkage
(Database Edit) and Remove Fence (Database Edit).
DB Access Graphics 12 - 5
Access the design file containing the elements for which you want to create or
manipulate graphics linkages. You can enter the design file through the MicroStation
Command Environment (mce <design.file>) or through any graphics application
built on MicroStation.
2.
The DB Access main dialog appears. DB Access attaches to the schema stored in
DBA_SCHEMA or specified with the -s command-line option. If no schema is specified,
the main dialog displays, but there is no current schema.
If necessary, specify a schema in the Schema field.
3.
Select a table from the Select Table screen on the right side of the DB Access main
dialog.
The table name highlights and is displayed in the Table field.
4.
12 - 6
DB Access Graphics
The graphics linkage buttons on the bottom right side of the dialog are active.
DB Access Graphics 12 - 7
# Window origin
X1: 30
Y1: 10
# Width and Height of window
Width: 400
Height: 400
# "Windows" mode of how the graphics windows will be displayed.
# Valid values are: CASCADE or QUADRANT
Windows: CASCADE
# The offset values are used only if you have set the variable Windows
# to CASCADE
Offset_x: 10
Offset_y: 10
#
#
#
#
#
#
#
#
#
#
#
#
There is a little button menu that has some read only graphics functions
like Fit, Window Area, Zoom In etc... The menu is displayed by the
when the user types a "v".
There are three valid "Menu" commands:
PERMANENT
Once the raster command menu is displayed it will stay displayed until
the user hits the cancel button.
POP_UP
An soon as the user hits a button the menu will be erased.
NONE
The raster menu will not be displayed when the user hits the "v" key.
Menu: PERMANENT
# Highlight, Foreground, Background, File_Link_Color, Note_Link_Color,
# User_Link_Color, and Database_Link_Color control the colors of the
# window and the DBA Links.
#
The valid colors are:
#
LIGHT CYAN
0
#
DARK GRAY
1
#
BLACK
2
#
YELLOW
3
#
LIGHT GRAY
4
#
DARK CYAN
5
#
WHITE
6
#
LIGHT RED
7
#
LIGHT GREEN
8
#
LIGHT BLUE
9
#
BROWN
10
#
DARK RED
11
#
DARK GREEN
12
#
DARK BLUE
13
#
DARK MAGENTA
14
#
LIGHT MAGENTA
15
Highlight: 4
Foreground: 2
Background: 6
File_Link_Color: 11
Note_Link_Color: 9
User_Link_Color: 3
Database_Link_Color: 8
12 - 8
DB Access Graphics
Files_Table:
Links_Table:
Points_Table:
Strings_Table:
dba_files
dba_links
dba_points
dba_strings
# If you want to save and load redlines from redlines file dbaccess needs
# to know where to look for the redline files. If you do not set
# the Redline_Path it will:
#
a) if you are on the clipper it will use the users current working
#
directory as the redline storage area.
#
b) if you are on the pc the default redline storage area will be read
#
from the dmredl.ini file found in your windows directory.
# Redline_Path: /usr/redlines
# Redline_Path: c:\usr\redlines
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
(on clipper)
(on pc)
To be able to view database links between unix and dos, two global
pointers have been set up. DB Access stores the original location
of a file in the database (dba_files). When a user displays a file,
that file is checked against dba_files table to see if it already has
a file number assigned to it. DB Access checks for three file
combination based on the previous pointers.
1) drive_path_filename
to database
2) dba_files_path/filename
to database
3) dba_files_drive/path_filename to database
where drive_path_filename is:
/usr/files/demo.tg4
or
c:\files\demo.tg4
where dba_files_path is:
/usr/files
or
c:\files
where dba_files_drive is:
/usr
or
c
If after three attempts to make a match fail, a new entry is
put into the database.
DB Access Graphics 12 - 9
# Files_Path: c:\usr\files
# Files_Drive: c
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
*
**
**
**
*
**
Draw Arc
Draw Arrow
Draw Circle
Draw Ellipse
Draw Filled Circle
Draw Filled Ellipse
Draw Filled Rectangle
Draw Filled Shape
Draw Freehand
Draw Line
Draw Rectangle
Draw Shape
Draw Symbol
Draw Text
Copy Redline
Delete Redline
Move Redline
Select Redline
Undo Redline
Draw Freehand, Draw Symbol and Select Redline only work on the pc
version of dba.
**
Redline_Mode: 0
# The Plot_Queue is used on the Clipper only. You use this variable to
# specify which queue you want the displayed graphics to be plotted to.
# Plot_Queue: laser
# Graphics window information only used on pc DBA
Graphics_Window_x: 10
Graphics_Window_y: 10
Graphics_Window_Width: 550
Graphics_Window_Height: 450
All keywords in the control file are optional, but the control file must exist.
If you want to use only the default values, you can create an empty control
file.
An example control file, c:\win32app\ingr\dba\support\raster.ctl, is delivered with
DB Access. You can copy this file to your working directory and edit it.
12 - 10
2.
DB Access Graphics
Set the DBA_RASTER environment variable to the control file you created. For
example:
set DBA_RASTER=raster.ctl
This user variable can also be set in the Control Panel - System.
3.
Determine the raster images to be used. You must know the full pathnames of the files.
4.
DB Access Graphics 12 - 11
Window Scroll This button moves the window area from one specified point to
another. For more information, see the section Window Scroll (Raster Graphics).
Zoom In This button displays half as much of the specified file at twice the
resolution. For more information, see the section Zoom In (Raster Graphics).
Show Links This button displays existing links in the selected window. For more
information, see the section Show Links (Raster Graphics).
Measure This button lets you determine the distance between two points in a raster
image. For more information, see the section Measure (Raster Graphics).
Fence Block This button lets you select a portion of the raster image in the
specified window. For more information, see the section Fence Block (Raster Graphics).
Load File This button displays the specified raster file. For more information, see
the section Load File (Raster Graphics).
Window Center This button brings the selected point of the raster image to the
center of the window area. For more information, see the section Window Center
(Raster Graphics).
Zoom Out This button displays twice as much of the specified file at half the
resolution. For more information, see the section Zoom Out (Raster Graphics).
Rotate Raster This button moves the raster image in the window area in a
counterclockwise direction. For more information, see the section Rotate Raster (Raster
Graphics).
Plot Window This button creates a file in Type 2 (straight byte) format of the
specified display and plots it. For more information, see the section Plot Window
(Raster Graphics).
Fence Shape This button lets you select a portion of the raster image in the
specified window. For more information, see the section Fence Shape (Raster Graphics).
Quit This button dismisses the selected window. For more information, see the
section Quit (Raster Graphics).
12 - 12
DB Access Graphics
DB Access Commands 13 - 1
DB Access Commands
__________________________________________________________________________________________________________________________________________________
13 - 2
DB Access Commands
DB Access Commands 13 - 3
13.
__________________________________________________________________________________________________________________________________________________
DB Access Commands
This section contains alphabetized descriptions of the commands available in DB Access.
In addition to general information about the command, a description may include any of the
following, if appropriate. All command descriptions do not include all sections.
Command Path This figure represents the selection path for the command. Select
each palette command in the path (from left to right in the figure) to select the
command. A command can have more than one command path.
Dialog Options If the command invokes a menu, this section describes the gadgets
on the menu.
Before Using This Command This section contains information you should know
before selecting the command.
Operating Sequence This section provides step-by-step instructions for using the
command.
13 - 4
DB Access Commands
DB Access Commands A - 1
__________________________________________________________________________________________________________________________________________________
would return rows for the two manufacturers in the database that produce tires (GoodTire
and Armstrong Tires).
Note that values for substring searches are enclosed in single tics () and percent
signs (%).
If you want to search for all parts except tires, you can do one of the following:
Edit the previous query, adding the word not, to produce:
parts.mfr_name not like %Tire%
For information on editing queries, see the section Edit Query (Database Edit).
In the relational operator field, key in not like when adding the query. In the
mfr_name field, key in %Tire%. Again, the resulting query criteria would be:
parts.mfr_name not like %Tire%
Dialog Options
Add Query This button places the dialog in add query mode. Any value you key in
for a column field is added as query criteria. The value in the database is not changed.
The dialog remains in add query mode until you select Add Query again, or select
another key-in mode.
A-2
DB Access Commands
equal to (default)
not equal to
less than
greater than
less than or equal to
greater than or equal to
substring search
You can key in any relational operator supported by RIS.
DB Access Commands A - 3
__________________________________________________________________________________________________________________________________________________
There are two places to select the same Add Query gadget in the Dialog Builder:
Use the Override key-in mode:
OR
Use the Query:
The Add Query command places an Add Query button, which lets you establish query
criteria, column values used to search the database for rows with common information.
A-4
DB Access Commands
If you select an Add Query button, any value entered in a column field is added as query
criteria, regardless of the default key-in mode for the field. For more information, see the
section Add Query (Database Edit).
Dialog Options
When you select Add Query, the Add Query dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands A - 5
__________________________________________________________________________________________________________________________________________________
The AND/OR Toggle command places an AND/OR toggle, which lets you select a logical
AND or OR operation when establishing query criteria with Add Query.
AND queries any rows that contain both the previous query criteria and any current column
value that is specified. OR queries any row that contains either the previous query criteria
or any current column value that is specified.
Dialog Options
When you select AND/OR Toggle, the AND/OR Toggle dialog appears.
A-6
DB Access Commands
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) for a description of these options.
Place Text/Place Symbol See the section Place Gadget (Dialog Builder) for a
description of this toggle.
Initially On/Initially Off This toggle lets you control whether or not the AND/OR
toggle is active the first time a dialog is accessed.
Off Text This field lets you specify the text that appears when the toggle is set to
the off position, which indicates an AND query.
On Text This field lets you specify the text that appears when the toggle is set to the
on position, which indicates an OR query.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands A - 7
__________________________________________________________________________________________________________________________________________________
Displayable Attributes Processing (DAP) links the column values of the current row to a text
node in a design file. The Attach DAP Link button lets you place a text node, create the
linkage, and load the text node with the current row value.
You can link the current row and one or more text nodes. You can place as many text nodes
as needed.
Once the linkage is established, a batch process can update the text nodes in a design file
with the current values in the database. For example, if many elements in the design file
have the same part number, you can place text nodes linked to the part number for those
elements. If the part number changes, the design file can be updated by changing the part
number column value in the database and running the Displayable Attributes Batch Process.
See the section Displayable Attributes Batch Process.
Dialog Options
When you select Attach DAP Link, the Choose Report dialog appears.
Index Number This field specifies the index number of the current report. Key in a
different number to make another report current.
Reports in <filename> This text field specifies the name of the DAP control file.
This is the value defined for DBA_DAP_FILE.
Listing of reports This field lists the reports in the specified DAP control file. The
current report is highlighted. Select another report to make it current.
A-8
DB Access Commands
Create the reports that contains the values you want on the text nodes.
2.
Place the report names, one report name per line, in a DAP control file.
3.
Set the DBA_DAP_FILE environment variable to the name of the DAP control file. For
example:
set DBA_DAP_FILE=dap.ctl
The user variable can also be set through the Control Panel - System.
4.
Set MS_FNTLB to the pathname of the default font library. For example:
MS_FNTLB=/usr#/ip32/mstation/font/libs/fontlib
b.
5.
Process Query
Current Row
Place other query gadgets on the dialog to specify a universe other than all rows in a
table. If element linkages already exist in the design file, you can also include Review
Element to establish the current row.
All gadgets required to attach a DAP linkage are available on a default
dialog.
Access the MicroStation design file. Establish a view that contains at least some of the
elements for which you need to place text nodes.
2.
3.
Create a universe containing the rows you want to link to the text nodes in the design
file.
DB Access Commands A - 9
Operating Sequence
1.
2.
Position the cursor where you want the text node and tap the middle mouse button.
The text node and report values appear on the screen.
3.
Continue to place text nodes for the current row and report.
OR
Change the current row or the current report and place new text nodes.
OR
Click the right mouse button to exit the command.
You can move a text node after you place it with the MicroStation Move
Element command.
The process lists the reports that are loaded into the design file. It also lists the mslink of
the reports row and the MicroStation text node of the old and new report.
If you access the design file through MicroStation, you can see that the displayed values have
been updated.
A - 10
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Attach DAP Link command places an Attach DAP Link button, which attaches a
linkage from the current row to a text node in a design file.
Attach DAP Link is available in vector graphics only.
Dialog Options
When you select Attach DAP Link, the Attach DAP Link dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands A - 11
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
A - 12
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Attach DB Linkage command creates a linkage between the current row on the
Database Edit dialog and a graphic element in a design or raster file. A graphic element
can be linked to several different database rows.
2.
Position the cursor on the graphic element for which you want to create the database
linkage. Click the left mouse button.
DB Access Commands A - 13
Click the left mouse button anywhere on the design file to accept the highlighted
element.
The message Processing, please wait... appears, followed by Linkage attached. If the
Linkage Mode was set to New, the new row is displayed in the Database Edit dialog.
The prompt Identify element/reset to exit appears.
OR
Click the right mouse button to reject the highlighted element. Return to Step 2.
4.
Place a fence that contains the linked elements that you want to include in
the report.
2.
3.
At the prompt, Accept/reject fence contents, click the left mouse button to
accept the fence contents.
Any rows that are linked to elements within the fence (and meet any
additional query criteria you have set) are included in the report.
A - 14
DB Access Commands
2.
At the prompt, Enter point 1, identify the area (range or multi-sided) where the linkage
is established.
The element highlights and the prompt Accept/reject linkage appears.
OR
Click the right mouse button to exit the command.
3.
DB Access Commands A - 15
__________________________________________________________________________________________________________________________________________________
The Attach DB Linkage command places an Attach DB Linkage button, which creates a
linkage between the current row on a DB Access dialog and a graphic element in a design or
raster file.
Dialog Options
When you select Attach DB Linkage, the Attach DB Linkage dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
A - 16
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands A - 17
__________________________________________________________________________________________________________________________________________________
The Attach File Link command places an Attach File Link button, which links raster
elements in the same file or different files.
Dialog Options
When you select Attach File Link, the Attach File Link menu appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
A - 18
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands A - 19
__________________________________________________________________________________________________________________________________________________
The Attach Note Link command places an Attach Note Link button, which attaches a
linkage from a raster element to a text file.
Dialog Options
When you select Attach Note Link, the Attach Note Link dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
A - 20
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands A - 21
__________________________________________________________________________________________________________________________________________________
The Auto Sequence button automatically creates a sequence for non-coded, single column
fields and user fields on a dialog. The fields are sequenced in order of their placement on the
dialog.
Operating Sequence
1.
A - 22
DB Access Commands
DB Access Commands B - 1
__________________________________________________________________________________________________________________________________________________
The Build Schema List command lets you build a schema list. Each schema in the list is
assigned an integer value that is stored with any dialog or report that references the schema.
When schemas are added to the schema list, the list of schemas appears when a Schema
Select is selected.
Use the Build Schema List command before creating multiple-schema dialog or report
templates for users to access with a DB Access Runtime product. Multiple-schema templates
retrieve data from tables in more than one schema.
A schema list is necessary only for multi-schema joins. If no schema list is
specified (using DBA_SCHEMA_LIST or the -S command-line option), any
available RIS schema can be attached.
The order of the schema list determines the integer value associated with each schema. For
example, you build a schema list with three schemas:
schema
value
assigned
schema1
schema2
schema3
1
2
3
You design a multiple-schema dialog while schema3 is the current schema. The dialog joins
tables in schema3 and schema1. The integer values 3 and 1 are stored with the dialog
template. For a runtime user to access the dialog, the users current schema (set with
DBA_SCHEMA or the -s command-line option) must have the same data structure as
schema3. The first schema in the users schema list (set with DBA_SCHEMA_LIST or the -S
command-line option) must have the same structure as schema1.
B-2
DB Access Commands
In general, the order of the schema list at build time should be the same as the users schema
list at runtime. The runtime users current schema should be the same as the current
schema at build time.
The schemas must have the same data structure; they do not have to be the
same schemas. You can design reports and dialogs for multiple schemas of the
same structure.
Dialog Options
When you select Build Schema List, the Build Schema List dialog appears.
Current Schemas This field displays the current schema list. By default, the list
contains the schemas specified by DBA_SCHEMA_LIST or the -S command-line option.
If no schema list has been defined, only the current schema appears.
Delete This button lets you delete a schema from the schema list. Select Delete
and then the schema to delete. Select Delete again to exit delete mode.
Available Schemas This field lists schemas that can be added to the schema list.
These are the available schemas in the current dictionary database.
DB Access Commands B - 3
Select a schema from the Schema Name column to add it to the schema list. The
schema is inserted above the marker (highlighted) line in the Current Schemas field.
If no marker line exists, the schema is inserted at the bottom of the schema list. Select
a line in the schema list to make it a marker line.
B-4
DB Access Commands
__________________________________________________________________________________________________________________________________________________
Dialog Options
When you select Button, the Button dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands C - 1
__________________________________________________________________________________________________________________________________________________
The Cancel command places a Cancel button, which exits you from the current dialog or
cancels a process. If the dialog is called from another dialog, the previous dialog appears.
Dialog Options
When you select Cancel, the Cancel dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
C-2
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands C - 3
__________________________________________________________________________________________________________________________________________________
The Cancel command dismisses the selected operation. To use this command, select Cancel
and a window.
C-4
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Change All command lets you change the value of one or more columns for all rows in
the current universe.
You cannot use Change All to edit a serial column (INFORMIX). You cannot
enter duplicate values in a column used for unique row identification (mslink,
mscatalog.key column, or unique index). For more information, see sections
Editing Database Values and DB Access Reserved Tables.
Operating Sequence
1.
Use the query functions to generate the universe of rows you want to change.
2.
3.
Select a column field. Key in the value you want to establish for all rows in the current
universe.
The message Change criteria added appears.
4.
Continue to select column fields and key in new values until all change criteria have
been added.
5.
DB Access Commands C - 5
You can save the update statement as an SQL template with the Save
SQL command.
6.
Select Process from the SQL Statements dialog to update the values in the universe.
OR
Select Cancel to cancel the change.
You can bypass steps 5 and 6 setting the global variable
DBA_NO_CHANGE_ALL_VERIFY. For more information, see the
c:\win32app\ingr\dba\doc\globals.txt file.
C-6
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Change All command places a Change All button, which lets you change the value of
one or more columns for all rows in the current universe.
Dialog Options
When you select Change All, the Change All dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands C - 7
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
C-8
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Change Row command puts the dialog in change row mode, which overrides the key-in
mode for key column, add query, and update active fields. Key column, add query, and
update active fields can be placed on custom dialogs created with DB Access.
By default, the multiple column field on the Database Edit dialog is in change row mode.
To update a value in the current row, select the appropriate column field and key in a new
value. The row is automatically updated in the database.
You cannot use Change Row to edit a serial column (INFORMIX). You cannot
enter duplicate values in a column used for unique row identification (mslink,
mscatalog.key column, or unique index). For more information, see sections
Editing Database Values and DB Access Reserved Tables.
Operating Sequence
1.
2.
Select a key column, add query, or update active field. Key in a new value.
The message Row changed appears.
3.
Continue to select column fields and key in new values until all changes have been
made.
4.
DB Access Commands C - 9
__________________________________________________________________________________________________________________________________________________
The Change Row command places a Change Row button, which lets you edit column
values for a displayed row. The Change Row function lets you edit key columns, add query
columns, and update active columns.
Dialog Options
When you select Change Row, the Change Row dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
C - 10
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands C - 11
__________________________________________________________________________________________________________________________________________________
The Check Box command places a checklist box. You can use scripts to define the function
or read the value of the checklist box.
Dialog Options
When you select Check Box, the Check Box/Radio Button dialog appears.
Unselected/Selected This toggle specifies the default value for the checklist box.
Unselected means the box does not have a check mark (that is, it is not selected).
Selected means the box will be checked.
Radio Group This field specifies a label number for a group of checklist boxes that
you place. Assigning a group label number lets you treat the checklist as a single
gadget, with only one box selectable at a time. Each box also has an individual label
number. If Group Label is non-zero, Radio buttons are placed instead of checklists.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
C - 12
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Clear All Dialogs command clears all dialogs from the dialog builder.
Operating Sequence
When you select the Clear All Dialogs command, all the dialogs currently loaded in the
Dialog Builder disappear.
DB Access Commands C - 13
__________________________________________________________________________________________________________________________________________________
Single Column This button lets you place a single column field, which displays a
column value from the current row. See the section Single Column (Dialog Builder).
Multiple Column This button lets you place a multiple column field, which displays
one or more column values from the current row. See the section Multiple Column
(Dialog Builder).
Worksheet This button lets you place multiple column fields, which display column
values from the current universe of rows. Worksheet columns show more than one row
at a time. See the section Worksheet (Dialog Builder).
C - 14
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Column (Report Builder) command places a field that retrieves and prints column
values from the current universe of rows. Column fields are the most important on the
report template, because they retrieve information fields from the database, user data file, or
ASCII file. Column fields are usually placed on body lines.
Join columns let you use a single table report to report on more than one table. Any two
database tables that have columns with common values can be joined. See the section Join
Columns.
There is no need to use the more complex unrelated table report unless the
tables are not related. For example, to report on the manufacturer and sale
tables, which do not share a join column, you need an unrelated tables report
template. You must place separate body lines for each table in the report.
Dialog Options
When you select Column, the DBA Column Field dialog appears.
DB Access Commands C - 15
The following list describes the options on the menu except for the Print Condition field,
which is described in the section Place Field.
Schema This field specifies the schema containing the table for which you want to
place a column field. You can key in a new schema name or use the list indicator to
select a new schema.
Table This field specifies the table for which you want to place a column field. You
can key in a new table name or use the list indicator to select a new table.
Column This field specifies the column from the current table for which you want to
place a column field. You can key in a new column name or use the list indicator to
select a new column.
Join Columns This button lets you review and edit the join column relationship.
The button is inactive until join columns are specified.
If you place a column field from a table other than the current table on a single table
report, you must specify a join column between the primary (that is, the current) table
and the secondary table. See the section Join Columns.
Code Text/Number These radio buttons lets you specify whether the column field
displays the code number or code text for a coded column. These radio buttons are
inactive until a coded column is specified in the Column field.
Length This field specifies the character length of the column field.
Decimal Places This field specifies the number of decimal places for numeric data.
Operating Sequence
1.
2.
At the Column field, enter the name of a column from the current table using key-in or
the list indicator. Go to Step 5.
OR
At the Schema and/or Table field, enter a new schema and/or table using key-in or the
list indicator.
C - 16
DB Access Commands
3.
At the Column field for the primary table, enter the name of the join column using
key-in or the list indicator. Repeat for the secondary table.
Then
Specify whether the join is an outer join. Select OK to return to the DBA Column
Field dialog.
The DBA Join Columns dialog disappears. The Join Columns button on the DBA
Column Field dialog is active.
You can optionally specify all table relations in your database through
Edit Relations (Utilities - Schema Edit.)
4.
At the Column field on the DBA Column Field dialog, use key-in or the list indicator
to enter the name of the column from the secondary table for which you want to place a
field.
5.
6.
OR
Select Cancel to end the placement.
DB Access Commands C - 17
Once you establish a join column between two tables, you can place additional
column fields from the secondary table. The DBA Join Columns dialog does
not reappear.
C - 18
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Combo Box command places a combo box on the current dialog.
Dialog Options
When you select Combo Box, the Combo Box dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands C - 19
Copy Field
__________________________________________________________________________________________________________________________________________________
The Copy Field command copies a field on a report template one or more times.
Operating Sequence
1.
Select Edit from the Toolbar menu, then select Field and Copy from the pulldown
menus.
The prompt Select field appears.
2.
3.
OR
Click the right mouse button to select a different field. Return to Step 2.
C - 20
4.
DB Access Commands
DB Access Commands C - 21
__________________________________________________________________________________________________________________________________________________
The Copy Gadget (Dialog Builder) command copies a gadget on the displayed dialog one
or more times.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Gadget and Copy from the pulldown menus.
The prompt Select gadget or key in label appears.
2.
Select a gadget (field, function button, line, rectangle, bezel, or text) on the current
dialog or key in the numeric label for the gadget (obtained by selecting the Display
Labels command from the Dialog Builder menu bar).
The gadget highlights, and the prompt Accept/reject gadget appears.
OR
Click the right mouse button to exit the command.
3.
To accept the gadget, click the left mouse button or press Return.
The gadget attaches to the cursor in drag mode. The prompt Select placement point
appears.
OR
Double Click the right mouse button to reject the gadget. Return to Step 2.
4.
C - 22
DB Access Commands
The x,y coordinates display in the message area so you can position the gadget on the
dialog.
5.
6.
DB Access Commands C - 23
Copy Line
__________________________________________________________________________________________________________________________________________________
The Copy Line command copies a line on a report template one or more times.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Line and Copy from the pulldown menus.
The prompt Select line appears.
2.
3.
OR
Click the right mouse button to select a different line. Return to Step 2.
4.
C - 24
DB Access Commands
OR
Click the right mouse button to exit the command.
DB Access Commands C - 25
__________________________________________________________________________________________________________________________________________________
The Copy Redlines command places a Copy Redlines button, which lets you copy the
redlines on the drawing.
Dialog Options
When you select Copy Redlines, the Copy Redlines dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
C - 26
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands C - 27
__________________________________________________________________________________________________________________________________________________
The Counter (Report Builder) command lets you place a field that prints the number of
rows that have processed. The fields in any default report under the text field Quantity are
counter fields.
You can set up counters to count certain types of rows or to give subtotals of the number of
rows processed. A counter field on an All Tables line counts the rows for all tables; a counter
field on a line for a particular table counts rows for that table only. Counter fields used for
subtotals and totals are usually placed on body lines and final lines respectively.
Dialog Options
When you select Counter, the DBA Counter Field dialog appears.
The following list describes the options on the menu except for the Print Condition field,
which is described in the section Place Field.
Length This field lets you specify the length of the counter field.
C - 28
DB Access Commands
Update Condition This field lets you specify a condition which must exist for the
field to be incremented. If the Update Condition field is blank, the counter field is
incremented for every row.
Reset Condition This field lets you specify a condition which must exist for the
field to be reset to zero. If the Reset Condition field is blank, the counter field is not
reset.
Operating Sequence
Place this field using the standard Place Field operating sequence. See the section Place
Field for a description of this sequence.
DB Access Commands C - 29
__________________________________________________________________________________________________________________________________________________
The Create/Alter Table command lets you create a new table or alter an existing one. Use
this command to:
Define columns for a new table.
Copy the column definition of an existing table to a new table.
Add columns to existing tables.
Create DB Access reserved tables.
Define coded columns and create the join tables to contain the code list values.
C - 30
DB Access Commands
Dialog Options
When you select Create/Alter Table, the Create/Alter Table dialog appears.
Schema This field specifies the schema for which you want to create or alter a table.
You can key in a new schema name or use the list indicator to select a new schema.
Table This field specifies the name of the table to create or alter. You can key in a
table name or use the list indicator to select a table. If you specify an existing table, the
dialog is in alter table mode; if you specify a new table, the dialog is in create table
mode.
If you key in the name of a DB Access reserved table that does not already
exist, DB Access automatically adds the appropriate columns. For more
information, see the section DB Access Reserved Tables.
Apply This button creates a new table or alters an existing one. Select this button
after specifying the columns to be added. If you dismiss the dialog without selecting
Process, the new table is not created or the existing table is not altered.
Column Name This field specifies the name of a column to add to the specified
table.
Type This checklist lets you select the data type for the column.
If you select Character, a Length field appears. Key in a size for the character
data.
DB Access Commands C - 31
If you select Coded, the Coded Column Options dialog appears. This dialog is
described in the section Adding Coded Columns.
Nulls Allowed This toggle specifies whether the column accepts null values.
INFORMIX does not support adding not null columns to existing tables.
Column Name, Type, Size, Nulls This field lists information about the columns for
the specified table. If you are creating a table, this field displays the columns you add.
If you are altering a table, this field displays the existing columns plus any columns you
add.
Create Table Mode/Alter Table Mode This text string indicates whether the table
is in create table or alter table mode. This mode is set when you enter a table name in
the Table field.
Add Column This button lets you build an add-column list, which appears in the
column list field. Columns in the add-column list do not exist until you select Process.
Select Add Column after specifying the parameters for the column. The column is
inserted above the marker (highlighted) line in the column list field. If no marker line
exists, the column is inserted at the bottom of the column list. Select a line in the addcolumn list to make it a marker line. You cannot select an existing column.
Modify Column This button lets you modify columns in the add-column list. You
cannot modify an existing column.
Select Modify Column and then the column to modify. Information for the column is
reflected in the Column Name, Type, and Nulls Allowed gadgets. You can edit this
information. You can edit multiple columns or select Modify Column again to exit
modify column mode.
Delete Column This button lets you delete any columns in the add-column list. You
cannot delete an existing column.
Select Delete Column and then a column to delete. You can delete multiple columns
or select Delete Column again to exit the delete column mode.
Clear List This button clears all columns from the add-column list. You cannot
clear existing columns.
Add mslink This button adds the mslink column to the add-column list.
The mslink column is one method DB Access uses for unique row identification.
MicroStation uses mslink to specify a row that a graphics element is linked to. Thus,
you must add mslink to a table before linking rows from the table to graphic elements
in a design file.
C - 32
DB Access Commands
When you select Apply after adding an mslink column to an existing table, the Define
Key Columns dialog appears. This dialog is described in the section Define Key
Columns Dialog.
You can use the Create/Alter Table dialog to copy an existing tables column
definition to a new table.
1.
Specify an existing schema and table in the Schema and Table fields.
The existing columns appear in the column list.
2.
3.
Select Process.
A new table with the same column definition is created. If one of the
columns is coded, the appropriate join table is created, if it does not exist.
Column Name, Type, Size, Nulls This field lists information about the columns for
the specified table. Select a column containing unique values (one with a unique index)
or a combination of columns that together uniquely identify a row. This ensures that
the added mslink values are unique for each row in the table.
Process This button adds the mslink column to the specified table. DB Access
generates unique mslink values for each row based on the columns you selected.
DB Access Commands C - 33
All Columns This button selects all columns in the column list field. You can use all
columns to identify rows uniquely or you can select a column a second time to deselect
it.
Dialog Options
When you select the Coded checklist box on the Create/Alter Table dialog, the Code
Column Options dialog appears.
Join Table This field specifies the name of the join table that contains the code list
values for the coded column. By default, Join Table has the same name as the coded
column. You can key in a different name or use the list indicator to select an existing
join table.
C - 34
DB Access Commands
Code Column This field specifies the name of the column that contains code
number values. By default the column is named code_number. You can key in a
different name or use the list indicator to select an existing column.
Text Column This field specifies the name of the column that contains code text
values. By default the column is named code_text. You can key in a different name or
use the list indicator to select an existing column.
Index This checklist box lets you add an index column to the join table. If you select
Index, the following fields appear:
Index Column. This field specifies the name of the column that contains index
values. You can key in a name or use the list indicator to select an existing column.
Index Value. This field specifies the index value for the coded column being added.
You can store multiple code lists in a join table by:
Specifying the same join table name, but different code column and text column names
for each code list.
Selecting the Index checklist. Specify the same join table, code column, text column,
and index column names, but different index value for each code list.
When you select Edit Code in Database Edit, only the appropriate code list values appear.
DB Access Commands C - 35
__________________________________________________________________________________________________________________________________________________
The Create/Edit Group command lets you create and edit gadget groups. Creating groups
lets you associate gadgets with similar functions.
Operating Sequence
1.
2.
Select a gadget on the current dialog or key in the numeric label field for the gadget
(obtained by selecting the Display Labels command from the pulldown menu).
The gadget highlights, and the prompt Accept/reject gadget appears.
OR
Click the right mouse button to exit the command.
3.
To accept the gadget, click the right mouse button or press Enter.
C - 36
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Create Sequence command creates linkages between dialog gadgets to define a
sequence for users to follow. At runtime, when the user completes an operation with a
sequenced gadget, the next gadget in the sequence highlights.
Operating Sequence
1.
2.
Select a gadget on the current dialog or key in the numeric label for the gadget
(obtained by selecting the Display Labels command from the Dialog Builder menu
bar).
The gadget highlights, and the prompt Accept/reject gadget appears.
OR
Click the right mouse button to exit the command.
3.
To accept the gadget, click the right mouse button or press Return.
An arrow is dynamically attached to the cursor and the prompt Poke next gadget in
sequence appears.
4.
DB Access Commands C - 37
To accept the gadget, click the right mouse button or press Return.
The established linkage is displayed as a dotted yellow arrow between the two gadgets.
The prompt Poke next gadget in sequence appears.
OR
If the new linkage is the second linkage from or to one of the gadgets, the existing linkage
appears in red and the new linkage appears in green. The prompt Accept = Green Link;
Reject = Red Link appears.
Click the right mouse button to replace the existing linkage with the new linkage, or
click the right mouse button to keep the existing linkage and reject the new linkage.
6.
C - 38
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The gadgets in the Current Row area let you determine which row in the universe is
current. Column values for the current row appear in the multiple column field on the
Database Edit dialog.
Current Row Slider Move the slider to scroll through the universe of rows.
Previous Row This (left-facing) arrow makes the previous row current. Select the
arrow repeatedly to move backward through the universe a row at a time.
Next Row This (right-facing) arrow makes the next row current. Select the arrow
repeatedly to move forward through the universe a row at a time.
Pick Row This field lets you key in the number of a row to make it current.
DB Access Commands C - 39
__________________________________________________________________________________________________________________________________________________
The Current Row command calls a palette containing commands that let you place buttons
for manipulating a universe of rows.
Row Text This button places a text field that displays the number for the current
row. The number is the current rows position in the current universe (for example,
Row 2 of 49). See the section Current Row Text (Dialog Builder).
Next Row This button places a Next Row button, which makes the next row in the
universe the current row. Column values for the current row appear in their
corresponding column fields on the dialog. See the section Next Row (Dialog Builder).
Pick Row This button places a Pick Row field, which displays the current row
number. A user can edit the value in a Pick Row field to change the current row. See
the section Pick Row (Dialog Builder).
Previous Row This button places a Previous Row button, which makes the
previous row in the universe the current row. Column values for the current row
appear in their corresponding column fields on the dialog. See the section Previous Row
(Dialog Builder).
Row Slider This button places a row slider, which determines which row in the
universe is current. Column values for the current row appear in their corresponding
column fields on the dialog. See the section Current Row Slider (Dialog Builder).
C - 40
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Current Row Slider command places a row slider, which determines which row in the
universe is current. Column values for the current row appear in their corresponding column
fields on the dialog.
Dialog Options
When you select Current Row Slider, the Current Row Slider dialog appears.
DB Access Commands C - 41
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
C - 42
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Current Row Text command places a text field that displays the number for the
current row. When you place the field, it reads Row n of n.
At runtime, the field displays the current row number and current universe size (for
example, Row 2 of 49 for the second row in a universe of 49 rows).
Dialog Options
When you select Current Row Text, the Current Row Text dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands C - 43
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
C - 44
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Current Table Text command lets you place a field that displays the table name for
the table associated with the current dialog. For example, if the dialog is associated with a
table named parts, at runtime the user would see parts table displayed in the Current Table
text field.
Dialog Options
When you select Current Table Text, the Current Table Text dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands C - 45
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
C - 46
DB Access Commands
DB Access Commands D - 1
__________________________________________________________________________________________________________________________________________________
The Database Utilities command calls a panel menu that contains commands for
interactively placing gadgets on the current dialog.
Column This button calls a palette of commands that let you place column fields on
the current dialog. See the section Column (Dialog Builder).
Current Row This button calls a palette of commands that let you place gadgets for
manipulating a universe of rows. The gadgets include the same functions found in the
Current Row box in Database Edit. See the section Current Row (Dialog Builder).
Delete This button calls a palette of commands that let you place function buttons
that let you delete rows from the current universe. See the section Delete (Dialog
Builder).
Edit Code This button lets you place an Edit Code button, which lets you display,
edit, and insert new code list values in a code list. See the section Edit Code (Dialog
Builder).
Fields On/Off This button lets you place a Fields On/Off button, which toggles all
column fields on or off. Off fields are excluded from universe reviews and are skipped
over when a user enters data. See the section Fields On/Off (Dialog Builder).
Insert Row This button lets you place an Insert Row button, which inserts a new
row based on the column values for the displayed row. See the section Insert Row
(Dialog Builder).
Override Key-in Mode This button calls a palette of commands that let you place
function buttons to let the user override key-in modes for column fields. See the section
Override Key-in (Dialog Builder).
D-2
DB Access Commands
Query This button calls a palette of commands that let you place various query
function buttons on the current dialog. See the section Query (Dialog Builder).
Report This button calls a palette of commands that let you generate report output
or review the current universe of rows. See the section Report (Dialog Builder).
Restore Defaults This button places a Restore Defaults button, which restores
the default values of the displayed columns. In effect, it erases the display of the
current row. See the section Restore Defaults (Dialog Builder).
SQL Statement This button lets you place an SQL Statement button, which
processes any SQL statements associated with the button. See the section SQL
Statement (Dialog Builder).
Schema Select This button lets you place a field with a list indicator that displays
all current schemas in a users schema list. See the section Schema Select (Dialog
Builder).
Table Select This button lets you place a field with a list indicator that displays all
tables in the current schema. See the section Table Select (Dialog Builder).
Current Table Text This button lets you place a field that displays the table name
for the table associated with the current dialog. This field operates identically to the
field on the Database Edit screen that displays the current table name. See the section
Current Table Text (Dialog Builder).
Update Row This button places an Update Row button, which updates the current
row based on the currently displayed column values. See the section Update Row
(Dialog Builder).
DB Access Commands D - 3
Date
__________________________________________________________________________________________________________________________________________________
The Date command places a field that prints the system date (month, date, and year) in a
format that you choose. You usually place date fields on a top or preface line.
Dialog Options
When you select Date, the DBA Date Field dialog appears.
The following list describes the options on the menu except for the Print Condition field,
which is described in the section Place Field.
Date Formats This checklist lets you select the print format for the date field.
D-4
DB Access Commands
Operating Sequence
Place this field using the standard Place Field operating sequence. See the section Place
Field for a description of this sequence.
DB Access Commands D - 5
Define Structure
__________________________________________________________________________________________________________________________________________________
The Define Structure command calls the DBA Structure Definition dialog containing
commands for defining data structure templates.
Several Intergraph applications and some customers use user data on MicroStation elements
and ASCII or binary files to store data. DB Access requires data structure templates so that
reports can be written on this data. Once these templates are defined, reports can be created
in the same way that they are for databases. The DBA Structure Definition dialog
changes slightly as you choose to define an ASCII, Binary, or user data template. For more
information, see sections ASCII Structure, Userdata Structure.
ASCII Structure
Selecting a structure type of ASCII from the Structure Definition dialog lets you define a
structure template so that DB Access can report on data in an ASCII file. DB Access uses
the structure template to interpret the ASCII file and format the specified data into a report.
The template you create describes a row structure, or table, for the ASCII file and the
columns (type, length, and offset) for that table.
D-6
DB Access Commands
Dialog Options
When you select a structure type of ASCII from the DBA Structure Definition dialog, the
dialog appears as follows:
If the type column equals 1, this row qualifies for this table.
Tables This select-only field lists the specified tables.
Select a line to make it a marker (highlighted) line. The dialog cannot be in delete or
edit mode. (That is, the Delete and Edit buttons are not depressed). New tables can
be added and the delete buffer inserted before a marker line.
DB Access Commands D - 7
Columns This select-only field lists the columns in the specified tables.
Select a line to make it a marker (highlighted) line. The dialog cannot be in delete or
edit mode. (That is, the Delete and Edit buttons are not depressed.) New columns can
be added and the delete buffer inserted before a marker line.
Column Number This field specifies the column number.
Column Name This field specifies the column name.
Column Type This checklist lets you select the column data type (Floating Point,
Integer, or Character).
Length This field specifies the number of characters in the field.
Byte Offset This field specifies where the valid data begins relative to zero.
Load This button loads an ASCII structure from a template library.
Save This button saves an ASCII structure to a template library.
Edit This button places the dialog in edit mode. Select Edit and then select a
column from the column list. The attributes for the column appear in the area at the
bottom of the dialog. You can edit these attributes.
Delete This button puts the dialog in delete mode; any line, either table or column,
you select is deleted and stored in a delete buffer. The delete buffer stores deleted lines
until you exit delete mode. Select Delete again to exit delete mode. The delete buffer
is cleared whenever you enter delete mode.
Add Table This button adds the table to the table list.
Add Column This button adds a column to the column list. Select Add after you
enter information at the bottom of the dialog. The new column is inserted before the
marker line in the column list. If no marker line exists, the new column is inserted at
the bottom of the list.
Binary Structure
Selecting a structure type of Binary from the DBA Structure Definition dialog lets you
define a structure template so that DB Access can report on data in a binary file. DB Access
uses the structure template to interpret the binary file and format the specified data into a
report.
The template you create describes a row structure, or table, for the binary file and the
columns (type, length, and offset) for that table.
D-8
DB Access Commands
Dialog Options
The dialog for binary structure definition contains many of the same features as the ASCII
structure definition dialog. See ASCII Structure for information on these features.
When you select a structure type of binary from the DBA Structure Definition dialog, the
dialog appears as follows:
Table Length This field lets you manually restrict the columns in the specified
table. This number is adjusted as you add and delete columns.
Column Type This checklist lets you select the column data type. The following
types are available:
Bit Field
Character
4-byte Float
8-byte Float
1-byte Integer
2-byte Integer
3-byte Integer
4-byte Integer
Bit Offset This field specifies where the relevant data begins in bits (for bit fields
only).
DB Access supports variable length records in Unrelated Tables reports.
DB Access Commands D - 9
Userdata Structure
Selecting a structure type of Userdata from the DBA Structure Definition dialog lets you
define a structure template so that DB Access can report on user data in a design file. DB
Access uses the structure template to interpret the user data and format it into a report.
The template you create describes a user data structure, or table, for the user data design file
and the columns (type, length, and offset) for that table. These columns identify the fields
carried in the design file.
Userdata structures can be delivered with an application product. If not, you can define the
structure of the nongraphic data attached to graphic elements using the Define Structure
command.
Dialog Options
The dialog for binary structure definition contains many of the same features as the ASCII
structure definition dialog. See the section ASCII Structure for information on these
features.
When you select a structure type of Userdata from the DBA Structure Definition dialog,
the dialog appears as follows:
D - 10
DB Access Commands
Column Type This checklist lets you select the column data type. The following
types are available:
Bit Field
Character
4-byte Float
8-byte Float
1-byte Integer
2-byte Integer
3-byte Integer
4-byte Integer
Bit Offset This field specifies where the relevant data begins in bits (for bit fields
only).
DB Access Commands D - 11
__________________________________________________________________________________________________________________________________________________
The Delete command calls a menu panel containing commands that let you place buttons for
deleting rows in the current universe.
Delete All This button places a Delete All button, which deletes all rows in the
current universe from the database. See the section Delete All (Dialog Builder).
Delete Row This button places a Delete Row button, which deletes the displayed
row from the database. See the section Delete Row (Dialog Builder).
D - 12
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Delete All command deletes all rows in the current universe from the database upon
verification.
Operating Sequence
1.
Use the query functions to generate the universe of rows you want to delete.
2.
You can save the delete statement as an SQL template with the Save
SQL command.
3.
Select Process from the SQL Statements dialog to delete the rows.
OR
Select Cancel to cancel the deletion.
DB Access Commands D - 13
__________________________________________________________________________________________________________________________________________________
The Delete All command places a Delete All button, which deletes all rows in the current
universe from the database.
Dialog Options
When you select Delete All, the Delete All dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 14
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
Operating Sequence
1.
Select Placement from the Toolbar menu. Select Delete and Delete All from the
pulldown menus.
The Delete All dialog appears.
2.
Edit the available parameters or accept the default parameters. Select Exit and Save
to place the button.
If you selected Keyin and specified coordinates, the Delete All button is automatically
placed on the dialog.
OR
If you selected Data Point, the button is dynamically attached to the screen cursor. The
x,y coordinates appear in the message area so you can position the button.
Click the middle mouse button to specify the upper left corner for the Delete All
button. Click the middle mouse button a second time to specify the lower right corner.
OR
Select Cancel to end the placement.
DB Access Commands D - 15
Delete Field
__________________________________________________________________________________________________________________________________________________
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Field and Delete from the pulldown
menus.
The prompt Select Field appears.
As you move the cursor over the report template, information in the message area
changes to reflect the current line, column, table, and field.
DB Access uses F-1, F-2, and so on to represent the first, second, and any
subsequent fields on a line.
2.
3.
D - 16
DB Access Commands
When you delete a field in the report template, fields to the right of the deleted
field stay in the same position. Click the left mouse button again to delete the
field of spaces between the cursor and the next field.
DB Access Commands D - 17
__________________________________________________________________________________________________________________________________________________
The Delete Gadget (Dialog Builder) command deletes a gadget on the current dialog.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Gadget and Delete from the pulldown
menus.
The prompt Select gadget or key in label appears.
2.
Select a gadget (field, function button, line, rectangle, bezel, or text) on the current
dialog or key in the numeric label for the gadget (obtained by selecting the Display
Labels command from the Dialog Builder menu panel).
The gadget highlights, and the prompt Accept/reject gadget appears.
OR
Click the right mouse button to exit the command.
3.
To accept the gadget, click the left mouse button or press Return.
The gadget is deleted.
OR
Click the right mouse button to reject the gadget.
The gadget is not deleted.
D - 18
4.
DB Access Commands
DB Access Commands D - 19
__________________________________________________________________________________________________________________________________________________
The Delete Group command lets you delete the group status of an existing gadget group.
D - 20
DB Access Commands
Delete Line
__________________________________________________________________________________________________________________________________________________
Operating Sequence
1.
Select Edit on the Toolbar menu. Select Line and Delete from the pulldown menus.
The prompt Select Line appears.
As you move the cursor over the report template, information in the message area
changes to reflect the current line, column, table, and field.
2.
3.
DB Access Commands D - 21
__________________________________________________________________________________________________________________________________________________
The Delete Redlines command places a Delete Redlines button, which deletes the
redlines on the drawing by the user.
Dialog Options
When you select Delete Redlines, the Delete Redlines dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 22
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 23
__________________________________________________________________________________________________________________________________________________
The Delete Row command deletes the current row from the database. When you select
Delete Row, a dialog appears asking you to verify the deletion.
Select Yes to delete the current row.
Select No to cancel the deletion.
D - 24
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Delete Row command places a Delete Row button, which deletes the current row from
the database.
Dialog Options
When you select Delete Row, the Delete Row dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands D - 25
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
D - 26
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Delete Sequence button lets you delete linkages in an existing sequence.
Operating Sequence
1.
Select Options from the Toolbar menu. Select Sequencing and Delete from the
pulldown menus.
Any existing linkages appear as dotted yellow arrows between gadgets. The prompt
Select gadget or key in label appears.
2.
Select the gadget that initiates a linkage, or key in the numeric label for that gadget
(obtained by selecting the Display Labels command from the Dialog Builder menu
panel).
The gadget highlights, and the prompt Accept/reject gadget appears.
OR
Click the right mouse button to exit the command.
3.
To accept the gadget, tap the middle mouse button or press <Return>.
The linkage appears in red and the prompt Accept/reject deletion of this linkage appears.
Click the left mouse button to delete the linkage.
OR
If no linkage exists, the message Gadget is not linked to anything appears.
DB Access Commands D - 27
Delete Space
__________________________________________________________________________________________________________________________________________________
The Delete Space command lets you delete spaces between fields in a report template.
You can use the Delete Field command to delete several spaces at once. For
more information, see the section Delete Field.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Delete space from the pulldown menu.
2.
Place the cursor where you want to delete spaces. Click the left mouse button once for
each space.
Fields to the right of the cursor are moved left.
3.
D - 28
DB Access Commands
Derived
__________________________________________________________________________________________________________________________________________________
The Derived command lets you place a field that prints the results of a formula. This
formula can be a user variable or an equation using specified fields, columns, constants, or
variables. Derived fields are usually placed on body lines and display in the report template
as a string of Ds.
Dialog Options
When you select Derived, the DBA Derived Field dialog appears.
The following list describes the options on the menu except for the Print Condition field,
which is described in the section Place Field.
Length This field lets you specify the length of the derived field.
Decimal Places This field specifies the number of decimal places.
Formula This field lets you specify a formula, the result of which prints in the
derived field.
DB Access Commands D - 29
Operating Sequence
Place this field using the standard Place Field operating sequence. See the section Place
Field for a description of this sequence.
D - 30
DB Access Commands
Design Options
__________________________________________________________________________________________________________________________________________________
The Design Options command calls a dialog that lets you save and load parameters
commonly used in dialog or report design.
When you select Design Options, the Design Options dialog appears:
DB Access Commands D - 31
D - 32
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Dial command places a dial that can display a range of values to be used with a
particular command. The values can be set by way of the FIg_set_value script function, or by
a data link from another gadget.
Dialog Options
When you select Dial, the Dial dialog appears.
High Value Defines the highest value appearing on the dial. The check by the field
toggles on and off to indicate that the value does (the default) or does not be display on
the dial.
Initial Value Defines the initial value appearing on the dial. The check by the field
toggles on and off to indicate that the value does (the default) or does not be display on
the dial.
Increment Sets the increments the dial moves by.
DB Access Commands D - 33
Zero location Sets the starting location of the dial relative the highest value.
Ticks Sets the number of ticks in a complete revolution.
Units/Tick Sets the number of units the dial moves for each tick.
Clockwise/Counterclockwise Determines the direction the dial moves.
Length Specifies the number of characters on the dial value readout.
Decimal Specifies the number of decimal places displayed for the dial values.
D - 34
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Display Group command places a Display Group button, which displays a specified
group of gadgets when selected.
Dialog Options
When you select Display Group, the Display Group dialog appears.
The following list describes the options on the dialog except for the standard gadget options.
See the section Place Gadget (Dialog Builder) for a description of these options.
Group Label The group label number assigned by DB Access when the group
gadget is created. The Create/Edit Group command displays this number when the
group gadget is created or edited.
DB Access Commands D - 35
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
To make two Display Group gadgets, erase the other group, put them in the
same group and make the group single-select. For more information see section
Create/Edit Group (Dialog Builder).
D - 36
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Display Labels command displays the numeric label of all gadgets on the current
dialog. The label can used in scripting to reference gadgets. Several Dialog Builder
commands let you identify gadgets by keying in their numeric labels.
DB Access Commands D - 37
D - 38
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Display Dialog command places a Display Dialog button, which displays a dialog that
you specify. This function lets you design dialogs that call other dialogs.
Dialog Options
When you select Display Dialog, the Display Dialog dialog appears.
See the section Place Gadget (Dialog Builder) for a description of these options.
Dialog Template This field lets you specify the dialog template associated with the
button. Key in the dialog name or select it from the list indicator.
At runtime, the template library in which the associated dialog template is
stored must be current (specified by DBA_LIB), or listed in the library list
(specified with DBA_LIST_LIB). Otherwise, DB Access cannot find the
dialog template.
DB Access Commands D - 39
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
D - 40
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Document List command places a field that displays a document list, a list of items on
which you can perform associated commands. When you select an item from the document
list, the associated commands are executed.
Dialog Options
When you select Document List, the Document List dialog appears. (The following
figures show the dialog with the Create Report and Named File options selected.)
DB Access Commands D - 41
The following list describes the options on the dialog except for the Text Font, Color, and
Location options. See the section Place Gadget (Dialog Builder) for a description of these
options.
Create Report/Named File This toggle specifies whether you use a report to
generate the document list or use a named (ASCII) file associated with a column value
in the database.
Report Template This field specifies the report template used to generate the
document list. You can key in a new template name or use the list indicator to select a
new template. This field appears only when Create Report is selected.
Schema This field specifies an RIS schema containing the table for which you want
to place a document list field. You can key in a new schema name or use the list
indicator to select a new schema. This field appears only when Named File is selected.
Table This field specifies the table containing the column for which you want to
place a document list field. You can key in a new table name or use the list indicator to
select a new table. This field appears only when Named File is selected.
Column This field specifies the column containing the column value for which you
want to place a document list field. You can key in a new column name or use the list
indicator to select a new column. This field appears only when Named File is selected.
Rows This field specifies the number of rows displayed at one time in the document
list field. Scroll bars to the right of the document list field provide access to rows that
are not displayed.
Length This field specifies the character length of the rows in the document list
field. You can set the length so that you see only the item name and/or description.
Current Row/Current Query This toggle specifies whether the report is based on
the current row or the current query. Depending on the setting, the document list is
repainted when the current row changes or when you select Process Query. This
toggle appears only when Create Report is selected.
If Current Row is selected, only the command associated with the current row is
available. Changing the current row changes the available command.
If Current Query is selected, all commands associated with rows that meet the
current query criteria are available from the document list field. Selecting Process
Query repaints the document list.
Field Options This subdialog lets you call other dialogs to set further parameters.
Select from Editing, Scrolling, List, and Defaults/Verify. The respective dialogs are
described in the section Place Gadget (Dialog Builder).
D - 42
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 43
__________________________________________________________________________________________________________________________________________________
The Draw Arc command places a Draw Arc button, which lets you place an arc redline on
the raster image.
Dialog Options
When you select Draw Arc, the Draw Arc dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 44
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 45
__________________________________________________________________________________________________________________________________________________
The Draw Arrow command places a Draw Arrow button, which lets you place an arrow
redline on the raster image.
Dialog Options
When you select Draw Arrow, the Draw Arrow dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 46
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 47
__________________________________________________________________________________________________________________________________________________
The Draw Block command places a Draw Block button, which lets you place an block
redline on the raster image.
Dialog Options
When you select Draw Block, the Draw Block dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 48
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 49
__________________________________________________________________________________________________________________________________________________
The Draw Circle command places a Draw Circle button, which lets you place a circle
redline on the raster image.
Dialog Options
When you select Draw Circle, the Draw Circle dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 50
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 51
__________________________________________________________________________________________________________________________________________________
The Draw Ellipse command places a Draw Ellipse button, which lets you place a ellipse
redline on the raster image.
Dialog Options
When you select Draw Ellipse, the Draw Ellipse dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 52
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 53
__________________________________________________________________________________________________________________________________________________
The Draw Filled Block command places a Draw Filled Block button, which lets you place
a filled block redline on the raster image.
Dialog Options
When you select Draw Filled Block, the Draw Filled Block dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 54
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 55
__________________________________________________________________________________________________________________________________________________
The Draw Filled Circle command places a Draw Filled Circle button, which lets you
place a filled circle redline on the raster image.
Dialog Options
When you select Draw Filled Circle, the Draw Filled Circle dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 56
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 57
__________________________________________________________________________________________________________________________________________________
The Draw Filled Ellipse command places a Draw Filled Ellipse button, which lets you
place a filled ellipse redline on the raster image.
Dialog Options
When you select Draw Filled Ellipse, the Draw Filled Ellipse dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 58
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 59
__________________________________________________________________________________________________________________________________________________
The Draw Filled Shape command places a Draw Filled Shape button, which lets you
place a filled shape redline on the raster image.
Dialog Options
When you select Draw Filled Shape, the Draw Filled Shape dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 60
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 61
__________________________________________________________________________________________________________________________________________________
The Draw Freehand command places a Draw Freehand button, which lets you freehand
redlines on the raster image.
Dialog Options
When you select Draw Freehand, the Draw Freehand dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 62
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 63
__________________________________________________________________________________________________________________________________________________
The Draw Line command places a Draw Line button, which lets you place a line redline on
the raster image.
Dialog Options
When you select Draw Line, the Draw Line dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 64
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 65
__________________________________________________________________________________________________________________________________________________
The Draw Shape command places a Draw Shape button, which lets you place an shape
redline on the raster image.
Dialog Options
When you select Draw Shape, the Draw Shape dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 66
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 67
__________________________________________________________________________________________________________________________________________________
The Draw Symbol command places a Draw Symbol button, which lets you place an
symbol redline on the raster image.
Dialog Options
When you select Draw Symbol, the Draw Symbol dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 68
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 69
__________________________________________________________________________________________________________________________________________________
The Draw Text command places a Draw Text button, which lets you place an text redline
on the raster image.
Dialog Options
When you select Draw Text, the Draw Text dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
D - 70
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands D - 71
__________________________________________________________________________________________________________________________________________________
The Drop From Group command lets you drop a gadget from an existing group.
D - 72
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Drop Table command lets you drop a table from a specified schema. All data in the
table and any associated indexes are deleted.
Dialog Options
When you select Drop Table, the Drop Table dialog appears.
Schema This field specifies the schema from which the table is dropped. You can
enter a new schema name using key in or the list indicator.
Table This field specifies the table you want to drop. You can enter a new table
name using key in or the list indicator.
Drop Table This button removes the table from the schema along with all data in
the table and any associated indexes.
The Drop Table command may fail if any views exist which reference the
table.
DB Access Commands D - 73
Dump Template
__________________________________________________________________________________________________________________________________________________
Dialog Builder:
Report Builder:
The Dump Template command provides an ASCII dump of a report or dialog template file.
The file contains general information about the report or dialog. It also contains specific
information about lines and columns.
The dump is a debugging tool showing such things as field size and type, sorts, print
conditions, and other details associated with a report template. Any errors that DB Access
detects are reported on the Errors Detected dialog when the template is dumped.
D - 74
DB Access Commands
Dialog Options
When you select Dump Template, the Dump Template dialog appears.
Filename This field specifies the filename for the template dump. You can key in
the full or relative pathname. Any file with the same name is overwritten.
DB Access Commands E - 1
__________________________________________________________________________________________________________________________________________________
The Edit Code command lets you display, edit, and insert values in a code list. You can also
select a code list value for a coded column in the current row.
You can use coded columns to limit the values that are valid for a column. A coded column
accepts only data that is contained in a code list, a unique set of values stored in a join table.
A join table can contain more than one code list.
Coded columns are indicated by a (c) to the left of the column name on the
Database Edit dialog. In the following example, the coded column region has
been added to the manufacturer table. By default, the code list value generated
for slot one is *UNK*, which stands for unknown.
E-2
DB Access Commands
Dialog Options
When you select a coded column and Edit Code, the Edit Code dialog appears.
<column> Code List - n Slot(s) This text string displays the name of the coded
column. n is the number of values contained in the code list.
Code List Values This field lists the code column and text column values for the
code list.
Add Code Slot This button lets you add slots to the code list. When you add a code
list slot, you add a row in the join table that contains the code list. The code slot
number is contained in the code column and the value you enter is contained in the text
column.
Edit/Select This toggle lets you place the code list field in edit mode (dark gray) or
select mode (light gray).
When the field is in edit mode, you can edit code list values or add new slots.
When the field is in select mode, you can select a code list value to insert in the
coded column for the current row.
DB Access Commands E - 3
Operating Sequence
1.
2.
3.
b.
4.
E-4
DB Access Commands
DB Access stores code lists in memory. Any changes made to the code list
outside of the Edit Code dialog are not recognized until you exit and reinvoke
DB Access or rebuild the code list by calling the script function
dba_flush_schema or dba_flush_codelist.
where n is the code slot number. The corresponding text value is entered for the
column.
2.
Select the coded column and key in a valid text column value.
3.
Select the coded column and select Edit Code. Set the Edit/Select toggle to Select.
Select a value from the Edit Code dialog. The code list value is added to the current
row.
DB Access Commands E - 5
__________________________________________________________________________________________________________________________________________________
The Edit Code command places an Edit Code button, which lets you display and select
from the code list associated with a coded column. You can also let the user edit and insert
code list values.
Code lists are used in many Intergraph applications to limit the number of valid values for a
column field. You can set up coded columns with the Create/Alter Table function in the
Schema Edit utility. See sections DB Access Reserved Tables.
E-6
DB Access Commands
Dialog Options
When you select Edit Code, the Edit Code dialog appears.
Edit Allowed/No Edit Allowed This toggle lets you grant or deny edit privileges
on the code list to users. If you select Edit Allowed, the user can display and select
from the code list, edit code list values, and insert new values. If you select No Edit
Allowed, the user can only display and select from the code list.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands E - 7
__________________________________________________________________________________________________________________________________________________
The Edit Dialog Parameters command lets you modify certain parameters for the current
dialog.
Dialog Options
When you select Edit Dialog Parameters, the Edit Dialog Parameters dialog appears.
E-8
DB Access Commands
Database Hook This toggle is set to Database if the dialog is associated with a
table in a database. Otherwise, the dialog does not represent any table, or represents
the current table.
The Schema and Table fields are active only if the Database setting is
selected.
Schema This field specifies the schema which contains the table associated with the
dialog. You can key in a new schema name or use the list indicator to select a new
schema.
Table This field specifies the table associated with the dialog. You can key in a new
table name or use the list indicator to select a new table.
Relations This field specifies a Relations Template to be associated with this dialog,
to satisfy secondary table column fields. For more information see Edit Relations.
Name This field specifies the current dialog name. To rename the current dialog,
key in a maximum of 20 characters with no embedded spaces.
Description This field specifies a description of the dialog. To change the
description, key in up to 50 characters.
Order Columns This field lets you determine the order in which rows are displayed.
Key in a comma-delimited list of columns. You can specify ascending (ASC) or
descending (DESC) order for each column. Ascending is the default.
In the dialog shown, for example, the order clause mfr_name ASC, price DESC would
order the rows in ascending order by manufacturer name and, for each manufacturer,
in descending order by price.
Dialog Script This field lets you specify a script to be associated with the dialog.
You can key in a supported DB Access script, key in the name of a valid script template,
or use the list indicator to select a script template from the current template library.
This script is executed whenever the dialog appears. If you want the
script to be executed only once, include logic to abort after processing once.
Notify Script This field lets you specify a script to be processed whenever input is
made to the dialog operation. You can key in a supported DB Access script, key in the
name of a valid script template, or use the list indicator to select a script template from
the current template library.
Location This group of gadgets determines the origin, width, and height for the
current dialog. Screen pixels are the units of measurement for any location key-in in
Dialog Builder.
To resize a dialog, you can use either the standard window
Modify/Resize icon or key in new coordinates in the Location fields.
DB Access Commands E - 9
X Origin This field displays the x coordinate for the upper left corner of the
dialog.
Y Origin This field displays the y coordinate for the upper left corner of the
dialog.
Width This field displays the width of the dialog in screen pixels.
Height This field displays the height of the dialog in screen pixels.
Scaling This checkbox determines whether automatic scaling is employed if you
resize the dialog. If scaling is ON, text and gadgets are scaled proportionally if you
change the size of the dialog. If scaling is OFF, text and gadgets remain the same size
if a user resizes the dialog. Scaling is applicable only when the Resizing toggle is set
to ON the dialog is resize.
Resizing This checkbox determines whether users you can resize the dialog during
runtime. If resizing is ON, the size of the dialog can be changed with the standard
window Modify/Resize icon. If resizing is OFF, you cannot change the size of the
dialog.
CR Required This checkbox determines whether a Carraige Return is required
before input to a text box on the dialog is processed.
Cancel Children This checkbox when set causes all dialogs displayed from this
dialog to be cancelled when this dialog is cancelled.
Application Modal This checkbox when set, forces the user to process this dialog
before input is accepted to any other dialog.
Color This button calls a color dialog which lets you choose the background color for
the dialog.
Start Gadget This field lets you specify which gadget is current when the dialog is
displayed.
Operating Sequence
1.
2.
E - 10
DB Access Commands
Edit Field
__________________________________________________________________________________________________________________________________________________
The Edit Field command lets you edit parameters associated with a field on a report
template. The type of field you select determines which parameters can be edited.
To save changes made to the field, you must save the template. See the section
Save Report.
When you select Edit Field and a field, the dialog used to place that field appears. For
example, if you select a text field, the Text Field dialog appears.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Field and Edit from the pulldown menus.
The prompt Select Field appears.
2.
3.
4.
Select OK.
The field is updated in the report template.
OR
Select Cancel to end the edit.
DB Access Commands E - 11
__________________________________________________________________________________________________________________________________________________
The Edit Gadget (Dialog Builder) command lets you edit parameters associated with a
gadget on a dialog template. You can edit any gadget placed with a Place Gadget (Dialog
Builder) command. The type of gadget you select determines which parameters can be
edited.
When you select Edit Gadget and a gadget, the dialog used to place that gadget appears.
For example, if you select a Process Query button, the Process Query dialog displays.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Gadget and then Edit from the pulldown
menus.
The prompt Select gadget or key in label appears.
2.
Select a gadget (field, function button, line, rectangle, bezel, or text) on the current
dialog or key in the numeric label for the gadget (obtained by selecting the Display
Labels command from the Dialog Builder menu panel). The gadget highlights, and the
prompt Accept/reject gadget appears.
OR
Click the right mouse button to exit the command.
3.
To accept the gadget, tap the left mouse button or press Return.
The dialog used to place the gadget appears.
OR
Click the right mouse button to reject the gadget you chose. Return to Step 2.
E - 12
DB Access Commands
4.
5.
Select OK.
The gadget is updated in the dialog template.
OR
Select Cancel to end the edit.
You must save the dialog template to the attached template library for the
edit to be saved permanently. For more information, see the section: Save
Dialog (Dialog Builder).
DB Access Commands E - 13
Edit Line
__________________________________________________________________________________________________________________________________________________
The Edit Line command lets you edit the parameters for lines in a report template. You can
modify line type, print conditions, table information, and other parameters.
To save changes made to a line, you must save the template. See the section
Save Report.
Dialog Options
When you select Edit Line and a line, the Edit Line dialog appears.
Single table/All tables These radio buttons specify whether the line is processed
against a specific (single) table or against all tables in the attached database. Select
All tables for common lines (such as page headings) in an unrelated tables report.
Select Single table for all other report lines.
E - 14
DB Access Commands
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Line and Edit from the pulldown menus.
The prompt Select Line appears.
DB Access Commands E - 15
2.
3.
4.
Select OK.
The line is updated in the report template.
OR
Select Cancel to end the edit.
E - 16
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Edit Privileges command lets you grant or revoke privileges for available RIS schemas.
DB Access uses the information you provide on the Edit Privileges dialog to build SQL grant
or revoke statements. For information on privilege types or SQL statement syntax, see the
Relational Interface System (RIS) Reference Manual.
Granting and revoking access on a relation through RIS affects only RIS.
Privileges on the underlying database system are not affected.
Dialog Options
When you select Edit Privileges, the Edit Privileges dialog appears.
Table Privileges This area contains gadgets for granting or revoking table
privileges.
DB Access Commands E - 17
Grant Privilege. This button grants table privileges to one or more schemas.
Specify the schemas and the privileges before selecting Grant Privilege.
Revoke Privilege. This button revokes table privileges from schemas. Specify the
schemas and the privileges before selecting Revoke Privilege.
Schema. This field specifies the schema that contains the tables for which you are
granting or revoking privileges.
Tables. This field lists the tables in the specified schema. Select the tables for
which you are granting/revoking privileges.
Schemas to Grant Privileges to. This field lists the schemas in the schema list.
Select the schemas to which you are granting or from which you are revoking
privileges.
Privileges. This checklist lets you select the privileges to grant or revoke.
Grant Option. This toggle specifies whether the schema being granted privileges
can grant privileges to other schemas. A schema can grant only those privileges
granted to it.
E - 18
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Edit Query command lets you review, edit, or save the current query criteria, or load a
query template from a template library.
Dialog Options
When you select Edit Query, the Edit Query dialog appears.
Schema This field specifies the schema containing the table for which the query is
created. You can key in a new schema name or use the list indicator to select a new
schema.
Table This field specifies the table to be searched for column values matching the
query criteria. You can key in a new table name or use the list indicator to select a new
table.
Query This key-in field displays the current query (if any). You can edit the query
or key in a new query.
Load Query This button calls the Load From Library dialog, which lets you load
a query criteria template. For more information, see the section Load From Library.
Save Query This button calls the Save Template dialog, which lets you save a
query criteria template. For a description of this dialog, see the section Save Options.
DB Access Commands E - 19
__________________________________________________________________________________________________________________________________________________
The Edit Query command places an Edit Query button, which displays an Edit Query
dialog. From the dialog you can view, edit, and save the current query criteria, or load a
query template from the attached template library.
Dialog Options
When you select Edit Query, the Edit Query dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
E - 20
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands E - 21
__________________________________________________________________________________________________________________________________________________
The Edit Report Parameters command lets you modify certain parameters for the current
report template.
Dialog Options
When you select Edit Report Parameters, the Edit Report Parameters dialog appears.
Single table/Unrelated tables This toggle lets you specify whether the report is a
single table or an unrelated tables report.
E - 22
DB Access Commands
Select Single table to specify a table that is the only table reported on or that is the
primary table in a join columns operation.
Select Unrelated tables when you want to report on tables that do not share a join
column.
The Schema and Table fields are active only if the Single table setting
is selected.
Schema This field specifies the schema which contains the table associated with the
report. You can key in a new schema name or use the list indicator to select a new
schema.
This field is labeled Structure for user data and ASCII reports.
Table This field specifies the table associated with the report. You can key in a new
table name or use the list indicator to select a new table.
Type This checklist specifies the current template type (Database, Userdata,
ASCII, or Binary).
Name This field specifies the current report template name. To rename the
template, key in a maximum of 20 characters with no embedded spaces.
Description This field specifies a description of the template. To change the
description, key in up to 50 characters.
Output This field displays the default output filename. Key in up to 50 characters
to name a different output file.
If the output filename is stdout, no file is created. The report output is
sent to the DB Access standard output device which, by default, is the
invoking window.
Characters Per Line This field displays the page width. Key in a number from 1
to 2000.
You can edit templates that are wider than the screen by using the Shift
Left and Shift Right arrows at the bottom of the Report Builder dialog.
Lines Per Page This field specifies when page breaks occur. Key in a number from
0 to 999. (0 creates a file without page breaks.)
Relations This field specifies a Relations Template to be associated with this dialog,
to satisfy secondary table column fields. For more information, see Edit Relations.
It is not possible to switch from Report Scripting to User Action.
Report Scripting is the recommended interpreter.
DB Access Commands E - 23
__________________________________________________________________________________________________________________________________________________
The Erase Fence command erases the selected fence in the raster image in the specified
window. To use the command, select Erase Fence and then a window.
E - 24
DB Access Commands
Exit
__________________________________________________________________________________________________________________________________________________
DB Access Commands E - 25
E - 26
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Expanded Summary command displays a listing of the gadgets on the current dialog.
All of the gadget parameters except the gadget label can be edited from the Expanded
Summary dialog.
Dialog Options
When you select Expanded Summary, the Expanded Summary dialog appears.
DB Access Commands E - 27
Operating Sequence
1.
Select Options on the Toolbar menu. Select Expanded Summary from the
pulldown menu.
The Expanded Summary dialog appears.
2.
Edit any parameters you choose. (Editable parameters become active when selected.)
3.
E - 28
DB Access Commands
DB Access Commands F - 1
__________________________________________________________________________________________________________________________________________________
The Fence Block command lets you select a portion of the raster image in the specified
window. To use the command, select Fence Block and then a window.
F-2
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Fence Copy (Dialog Builder) command copies a fenced area on the current dialog one
or more times.
Operating Sequence
1.
Select Edit on the Toolbar menu. Select Fence and Copy on the pulldown menus.
The prompt Select fence origin appears.
2.
Click the left mouse button to define the first corner of a fence that encompasses the
group of gadgets you want to copy.
The prompt Select opposite corner appears.
OR
Click the right mouse button to exit the command.
3.
Click the left mouse button to define the opposite corner of the fence.
The gadgets within the boundaries of the fence highlight, and the prompt Accept/reject
fence appears.
4.
DB Access Commands F - 3
5.
6.
7.
F-4
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Fence Delete (Dialog Builder) command deletes a fenced area containing multiple
gadgets on the displayed dialog. You define a fenced area by placing a data point in the
upper left corner of the area (the fence origin) and another in the lower right corner.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Edit and Delete from the pulldown
menus.
2.
Tap the left mouse button to define the first corner of a fence that encompasses the
gadgets you want to delete.
OR
Click the right mouse button to exit the command.
3.
Click the left mouse button to define the opposite corner of the fence.
The gadgets within the fence highlight, and the prompt Accept/reject fence appears.
4.
DB Access Commands F - 5
5.
F-6
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Fence Edit (Dialog Builder) command lets you edit parameters associated with
gadget labels in a fenced area.
Dialog Options
When you select Fence Edit (Dialog Builder), the Fence/Group Edit dialog appears.
Choose Font This button calls the Font dialog, which is described in the following
section.
Font Select this box to implement a change in the font. If the box is not selected, the
gadget labels retain their current font.
Font Style Select this box to implement a change in the font style. If the box is not
selected, the gadget labels retain their current font style.
Size Select this box to implement a change in the size of the type. If the box is not
selected, the gadget labels retain their current size.
DB Access Commands F - 7
Choose Font
Font This field displays the current style of type. You can key in a new typeface or
select one from the list below.
Font Style This field displays the current font style. You can select a new font style
from the list below.
Size This field displays the current size of type. You can key in a new bodysize or
select one from the list below.
Sample Type This field displays an example of the current font.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Fence and Edit from the pulldown menus.
The prompt Select fence origin appears.
2.
Click the left mouse button to define the first corner of a fence that encompass the
group of gadgets whose labels you want to edit.
The prompt Select opposite corner appears.
OR
Click the right mouse button to exit the command.
3.
Click the middle mouse button to define the opposite corner of the fence.
The gadgets within the boundaries of the fence highlight, and the prompt Accept/reject
fence appears.
4.
F-8
DB Access Commands
6.
Select OK.
The gadgets are updated.
OR
Select Cancel to end the edit.
You must save the dialog template to the attached template library for the
edit to be saved permanently with the template. See the section Save
Dialog (Dialog Builder).
DB Access Commands F - 9
__________________________________________________________________________________________________________________________________________________
The Fence Move (Dialog Builder) command moves a fenced area containing multiple
gadgets.
You define a fenced area by placing a data point in the upper left corner of the area (the fence
origin) and another in the lower right corner. The fenced area attaches to the cursor in drag
mode, letting you move the fenced area interactively on the dialog.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Fence and Move from the pulldown
menus.
The prompt Select fence origin appears.
2.
Click the left mouse button to define the first corner of a fence that will encompass the
group of gadgets you want to move.
The prompt Select opposite corner appears.
OR
Click the right mouse button to exit the command.
3.
Click the left mouse button to define the opposite corner of the fence.
The gadgets within the boundaries of the fence highlight, and the prompt Accept/reject
fence appears.
4.
F - 10
DB Access Commands
6.
7.
Return to Step 2.
DB Access Commands F - 11
__________________________________________________________________________________________________________________________________________________
The Fence Operations (Report Builder) command calls the following panel:
The Fence Operations (Dialog Builder) command contains the edit, copy, move, delete
and undelete functions on the pulldown menu. Because a fenced area can contain any
number of gadgets, fence operations are useful for executing the same command on several
gadgets.
Operating Sequence
1.
Select Fence Operations (Dialog Builder) from the Dialog Builder menu bar.
F - 12
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Fence Shape command lets you select a portion of the raster image in the specified
window. To use the command, select Fence Shape and then a window.
DB Access Commands F - 13
__________________________________________________________________________________________________________________________________________________
The Field Format command lets you associate a format with a field in a report template.
The format modifies the field as it is printed out to the report.
You must save the report template to save the field formats you have
established.
Dialog Options
When you select Field Format and select the field to format, the DBA Special Field
Formats dialog for that field appears.
F - 14
DB Access Commands
Convert to Feet - Inches This option converts a numeric field to feet and inches
format. The initial field is assumed to be in inches. For example, if a wall length is
stored in a database as 136.75 inches, the formatted field prints the report output as
11-4 3/4". If a field is not stored as inches in the input data, it is usually easier to
convert it to inches (by way of a derived field) and then use the field format rather than
convert it to a feet-inches format.
Convert to Fraction This option converts a floating point field to a fraction. For
example, a 136.75 inch wall length is printed as 136 3/4. Fractions are rounded to the
nearest 1/8th.
Variable Start This option prints the field in the column represented by an integer
user variable. Select this format to stagger the start of report fields according to a
predetermined value or condition.
User Variable. This field lets you specify the user variable that contains the
integer value.
Suppress This option suppresses the number of blanks between two fields. Select
Suppress for the second of two fields to define the number of blanks between the end of
the data in the first field and the start of the second field.
Select this option for fields that should print with only one or two blanks between them,
regardless of the length of their text. For example:
Last_name, First_name
or
You can also use Suppress to create a free format file to be used as input for another
process.
Blanks. This field lets you specify the number of blanks inserted before the field.
Zero Fill This option replaces leading blanks in a numeric field with zeros. By
default, DB Access does not print leading zeros in a numeric field.
Auto Wrap This option automatically wraps lengthy text in a field to a second line
in the report output. You must specify a field length on the report template that is
shorter than the length of the associated column. The text is broken at the last blank
before the specified field length.
Justification Format This checklist lets you specify how the field is aligned. Select
Right Justify, Center Justify, or Left Justify.
DB Access Commands F - 15
__________________________________________________________________________________________________________________________________________________
The Fields On/Off command toggles all column fields off or on. You can turn an individual
field on or off by selecting the fields corresponding column name (for example, part_num,
mfr_name, and so on).
By default, all column fields on the Database Edit dialog are on (the field is dark gray). Off
fields (light gray) are not included in universe reviews.
F - 16
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Fields On/Off command places a Fields On/Off button, which toggles all column fields
on or off. (Off fields are not included in universe reviews generated by the Review button).
Dialog Options
When you select Fields On/Off, the Fields On/Off dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands F - 17
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
F - 18
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Field Operations (Report Builder) command calls the following panel:
The Field Operations (Report Builder) command contains the edit, copy, move, delete,
and undelete functions on the pulldown menu to field commands from line commands.
1.
Select Edit from the Toolbar menu. Select Field from the pulldown menu.
2.
DB Access Commands F - 19
__________________________________________________________________________________________________________________________________________________
The Field Plus command places a field plus on the current dialog. A Field Plus gadget is a
custom control that offers I/Forms functionality.
Dialog Options
When you select Field Plus, the Field PLUS dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
F - 20
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Fit View command places a Fit View button, which displays an entire raster document
in the specified window.
Dialog Options
When you select Fit View, the Fit View dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands F - 21
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
F - 22
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Fit command displays an entire raster document in the specified window. To use the
command, select Fit and then a window.
DB Access Commands G - 1
__________________________________________________________________________________________________________________________________________________
Grouping gadgets make it easier to change their attributes with a single FI script function or
a single Dialog Builder command. The Gadget Groups command calls the following panel
of gadget group commands:
Create/Edit This command lets you create and edit gadget groups. See the section
Create/Edit Group (Dialog Builder).
Drop From This command lets you drop a gadget from a group. See the section
Drop From Group (Dialog Builder).
Delete This command lets you delete the group status of a gadget group. See the
section Delete Group (Dialog Builder).
Show This button lets you highlight all the gadgets in a given group. See the
section Show Group (Dialog Builder).
G-2
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Gadget Operations (Dialog Builder) command calls the following panel:
The Gadget Operations (Dialog Builder) commands contains the edit, copy, move, delete
and undelete functions on the pulldown menu.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Gadget from the pulldown menu.
2.
DB Access Commands G - 3
__________________________________________________________________________________________________________________________________________________
Create This button lets you define a sequence for users to follow. See the section
Create Sequence (Dialog Builder).
Review This button lets you review an existing sequence. See the section Review
Sequence (Dialog Builder).
Delete This button lets you delete linkages in an existing sequence. See the section
Delete Sequence (Dialog Builder).
Auto This button automatically sequences non-coded single column fields and user
fields. See the section Auto Sequence (Dialog Builder).
G-4
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Gauge command places a gauge with a range of values to be used with a particular
command.
Dialog Options
When you select Gauge, the Gauge dialog appears.
The following list describes the options on the dialog except for the Text Font, Color, and
Location options. See the section Place Gadget (Dialog Builder) for a description of these
options.
High Value Defines the highest value appearing on the gauge.
Initial Value Defines the initial value appearing on the gauge.
Vertical/Horizontal Determines the direction the gauge moves.
DB Access Commands G - 5
__________________________________________________________________________________________________________________________________________________
The General Utilities command calls a menu panel that lets you place gadgets to perform
such functions as executing a system command or exiting a dialog.
Cancel This button places a Cancel button, which exits you from the current dialog
or cancels a process. See the section Cancel (Dialog Builder).
Display Dialog This button places a Display Dialog button, which displays a
dialog that you specify. See the section Display Dialog (Dialog Builder).
Display Group This button places a Display Group button, which displays a
group of undisplayed gadgets. See the section Display Group (Dialog Builder).
Document List This button places a Document List field, which generates a list of
files on which you can execute commands. See the section Document List (Dialog
Builder).
Multi Gadget This button lets you associate multiple commands with one function
button. Thus, you can place one button that performs several functions in succession.
See the section Multi Gadget (Dialog Builder).
Help This button places a Help button, which invokes on-line Help. See the section
Help (Dialog Builder).
System Command This button lets you place a System Command button, which
executes a system command. See the section System Command (Dialog Builder).
G-6
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Grid command places a grid on the current dialog, for multi-column text selection.
Dialog Options
When you select Grid, the Grid dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands G - 7
__________________________________________________________________________________________________________________________________________________
The Grid Lock command lets you specify a grid lock number used in placing gadgets by data
point. The gadgets are forced to the nearest screen pixel coordinate that is a multiple of the
grid lock number. For example, if you set the grid lock number to 10, gadgets placed by data
point are forced to x and y coordinates that are multiples of 10.
The grid lock setting can be saved as part of a design options template, using the Save
Options command.
The grid lock is also used by the Snap to Grid command.
Dialog Options
When you select Grid Lock, the Grid Lock dialog appears.
G-8
DB Access Commands
Operating Sequence
1.
Select Options from the Toolbar menu, then select Grid Lock... from the pulldown
menu.
The Grid Lock dialog appears.
2.
Position the cursor on top of the slider, hold down the middle mouse button, and move
the cursor right to make the grid lock number larger or left to make the grid lock
number smaller.
OR
Enter a value for the grid lock number in the key-in field.
DB Access Commands G - 9
__________________________________________________________________________________________________________________________________________________
The Group Box command places a group box on the current dialog, to group a set of likefunctioned gadgets.
Dialog Options
When you select Group Box, the Group Box dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
G - 10
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Group Copy (Dialog Builder) command copies a gadget group on the current dialog
one or more times.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Group and then Copy from the pulldown
menus.
The prompt Select gadget or key in label appears.
2.
Select a gadget (field, function button, line, rectangle, bezel, or text) in the group you
are copying on the current dialog or key in the numeric label of any gadget in the group
(obtained by selecting the Display Labels command from the Dialog Builder menu
panel).
The gadget highlights, and the prompt Accept/reject gadget appears.
OR
Click the right mouse button to exit the command.
3.
To accept the gadget, Click the left mouse button or press Return>.
The gadgets in the gadget group highlight, and the prompt Accept/reject group appears.
4.
DB Access Commands G - 11
5.
6.
7.
Return to Step 5 to place another copy of the gadget group in a new location.
OR
Click the right mouse button to define a new gadget group to copy. Return to Step 2.
OR
Double click the right mouse button to exit the command.
G - 12
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Group Delete (Dialog Builder) command deletes a gadget group on the current
dialog.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Group and then Delete from the
pulldown menus.
The prompt Select gadget or key in label appears.
2.
Select a gadget (field, function button, line, rectangle, bezel, or text) in the group you
are deleting on the current dialog or key in the numeric label of any gadget in the group
(obtained by selecting the Display Labels command from the Dialog Builder menu
panel).
The gadget highlights, and the prompt Accept/reject gadget appears.
OR
Click the right mouse button to exit the command.
3.
To accept the gadget, click the left mouse button or press Return.
The gadgets in the gadget group highlight, and the prompt Accept/reject group appears.
4.
DB Access Commands G - 13
G - 14
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Group Edit (Dialog Builder) command lets you edit parameters associated with a
gadget group.
Dialog Options
When you select Group Edit (Dialog Builder), the Fence/Group Edit dialog appears.
Choose Font This button calls the Font dialog, which is described in the following
section.
Font Select this box to implement a change in the font. If the box is not selected, the
gadget labels retain their current font.
Font Style Select this box to implement a change in the font style. If the box is not
selected, the gadget labels retain their current font style.
Size Select this box to implement a change in the size of the type. If the box is not
selected, the gadget labels retain their current size.
DB Access Commands G - 15
Choose Font
Font This field displays the current style of type. You can key in a new typeface or
select one from the list below.
Font Style This field displays the current font style. You can select a new font style
from the list below.
Size This field displays the current size of type. You can key in a new bodysize or
select one from the list below.
Sample Type This field displays an example of the current font.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Group and the Edit from the pulldown
menus.
The prompt Select gadget or key in label appears.
2.
Click the left mouse button to define the first corner of a fence that encompass the
group of gadgets whose labels you want to edit.
The prompt Select opposite corner appears.
OR
Click the right mouse button to exit the command.
3.
Click the left mouse button to define the opposite corner of the fence.
The gadgets within the boundaries of the fence highlight, and the prompt Accept/reject
fence appears.
G - 16
4.
DB Access Commands
5.
6.
Select OK.
The gadget labels are updated.
OR
Select Cancel to end the edit.
You must save the dialog template to the attached template library for the
edit to be saved permanently with the template. See the section Save
Dialog (Dialog Builder).
DB Access Commands G - 17
__________________________________________________________________________________________________________________________________________________
The Group Move (Dialog Builder) command moves a gadget group on the current dialog
one or more times.
This command is also available from the DBA toolbar.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Group and then Move from the pulldown
menus.
The prompt Select gadget or key in label appears.
2.
Select a gadget (field, function button, line, rectangle, bezel, or text) in the group you
are moving on the current dialog or key in the numeric label of any gadget in the group
(obtained by selecting the Display Labels command from the Dialog Builder menu
panel).
The gadget highlights, and the prompt Accept/reject gadget appears.
OR
Click the right mouse button to exit the command.
3.
To accept the gadget, click the left mouse button or press Return.
The gadgets in the gadget group highlight, and the prompt Accept/reject group appears.
4.
G - 18
DB Access Commands
The group attaches to the cursor in drag mode. The prompt Select placement point
appears.
OR
Click the right mouse button to reject the group. Return to Step 2.
5.
6.
7.
Return to Step 2.
DB Access Commands G - 19
__________________________________________________________________________________________________________________________________________________
The Group Operations (Dialog Builder) command calls the following panel:
The Group Operations (Dialog Builder) command contains edit, copy, move, delete, and
undelete functions on the pulldown menu to group commands from gadget commands. Group
commands perform operations on gadget groups.
Operating Sequence
Select Edit from the Toolbar menu and then select Group from the pulldown menu.
G - 20
DB Access Commands
DB Access Commands H - 1
__________________________________________________________________________________________________________________________________________________
The Help command places a Help button, which invokes on-line Help.
Dialog Options
When you select Help, the Help dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
H-2
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands I - 1
__________________________________________________________________________________________________________________________________________________
The Initialize Query command clears the current query criteria. If you select Initialize
Query and then Process Query, a universe of all rows in the current table is generated.
I-2
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Initialize Query command places an Initialize Query button, which initializes
(clears) the current query criteria.
Dialog Options
When you select Initialize Query, the Initialize Query dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands I - 3
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
I-4
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Insert Row command inserts a new row in the attached database. The new row
contains the column values currently displayed.
If there are no restrictions on duplicate column values in the database, you can use Insert
Row to create a row that contains the same values as the current row. Only the mslink
value (if the column exists) is changed. DB Access automatically increments the mslink
value for each new row in the database.
Insert Row cannot create a new row if:
1.
2.
The Update Active command lets you change currently displayed values for the row to be
inserted without changing the corresponding value for the current row. For more
information, see the section Update Active (Database Edit).
DB Access Commands I - 5
__________________________________________________________________________________________________________________________________________________
The Insert Row command places an Insert Row button, which inserts a new row based on
the column values for the displayed row. The user selects Update Active, enters data for
the new row, and then selects Insert Row to insert the displayed data as a row in the
database.
Dialog Options
When you select Insert Row, the Insert Row dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
I-6
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands I - 7
__________________________________________________________________________________________________________________________________________________
The Insert Space (Report Builder) command lets you insert spaces between fields in a
report template. All fields to the right of the cursor are moved to the right.
You can use the Delete Field and Undelete Field commands to align fields on
several lines. For more information, see these sections Delete Field and
Undelete Field (Report Builder).
Operating Sequence
1.
Select Edit from the Toolbar menu and then select Insert space from the pulldown
menu.
2.
Place the cursor where you want to insert spaces. Click the left mouse button once for
each space.
Fields to the right of the cursor are moved right.
3.
I-8
DB Access Commands
DB Access Commands K - 1
__________________________________________________________________________________________________________________________________________________
The Key Column command lets you perform a quick search on the database. If you key in a
value for a column field, DB Access searches the database and retrieves the first row that has
the same value for the column. This command provides the same functionality as an
Initialize Query, Add Query, and Process Query sequence.
K-2
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Key Column command places a Key Column button, which lets you perform a quick
search on the database. If you key in a value for a column field, DB Access searches the
database and retrieves the first row that has the same value for the column. This command
provides the same functionality as an Initialize Query, Add Query, and Process Query
sequence.
Dialog Options
When you select Key Column, the Key Column dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands K - 3
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
K-4
DB Access Commands
DB Access Commands L - 1
__________________________________________________________________________________________________________________________________________________
The Line command lets you place a line on the current dialog. You can select line style,
color, depth, and weight. Lines are useful for drawing boundaries around groups of function
buttons.
Dialog Options
When you select Line, the Line dialog appears.
L-2
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands L - 3
__________________________________________________________________________________________________________________________________________________
The Line Operations (Report Builder) command calls the following panels:
The Line Operations (Report Builder) command contains edit, copy, move, delete, and
undelete functions on the pulldown menu to line commands from field commands.
Operating Sequence
1.
Select Line Operations (Report Builder) from the Dialog Builder menu bar.
2.
L-4
DB Access Commands
Line Script
__________________________________________________________________________________________________________________________________________________
The Line Script command lets you write more complex statements for a report template to
process. Line scripts can perform looping, if-else-if structures, paging, multiple calculations,
and other report control functions.
You can define scripts to process before or after a line in a report template is printed. If the
line is not printed, the after line script does not process. Scripts can also be processed before
or after a sort of the input data.
Line Script does not require a function name or opening and closing braces.
A line script cannot include a preprocessor directive, such as #include or #define, because
Report Scripting treats each line script as one long line of C code.
DB Access Commands L - 5
Dialog Options
When you select Line Script, the Line Script dialog appears.
Before Line Processing This field lets you specify line scripts to process before the
line is printed. If you select a line with an existing before line script, the script appears
in this field. Select the Clear button to clear the field.
After Line Processing This field lets you specify line scripts to process after the
line is printed. If you select a line with an existing after line script, the script appears
in this field. Select the Clear button to clear the field.
If the line is not printed, the after line script does not process.
When the Line Script dialog appears, these fields are in edit mode.
Select a field to key in a script or edit an existing one.
Editor This button lets you use a specified editor to edit the text in the last active
field. You can specify an editor with the EDITOR environment variable. If EDITOR is
not defined, notepad is the default editor.
The name of the current editor appears in the field to the right of the Editor button.
To change editors, key in the name of the new editor.
L-6
DB Access Commands
DB Access Commands L - 7
__________________________________________________________________________________________________________________________________________________
Review Element This button places a Review Element button, which reviews the
linkage(s) for a graphic element in a design or raster file. See the section Review
Element (Dialog Builder).
Locate Graphics This button places a Locate Graphics button, which locates a
graphic element with a linkage to the current row on a DB Access dialog. The graphic
element highlights if a linkage exists. See the section Locate Graphics (Dialog Builder).
Attach Linkage This button places an Attach Linkage button, which creates a
linkage between the current row on a DB Access dialog and a graphic element. See the
section Attach DB Linkage (Dialog Builder).
Attach DAP Link This button places an Attach DAP Link button, which attaches
a linkage from the current row to a text node in a design file. See the section Attach
DAP Link (Dialog Builder).
Attach Note Link This button places an Attach Note Link button, which attaches
a linkage from a raster element to a text file. See the section Attach Note Link (Dialog
Builder).
Attach File Link This button places an Attach File Link button, which links
raster elements in the same file or different files. See the section Attach File Link
(Dialog Builder).
Show Links This button places a Show Links button, which displays linkages in
the specified window. See the section Show Links (Dialog Builder).
L-8
DB Access Commands
Linkage Mode This button places a Linkage Mode field, which lets a user select
the type of database linkage created with the Attach Linkage button. See the section
Linkage Mode (Dialog Builder).
Remove Linkage This button places a Remove Linkage button, which removes a
linkage from a graphic element. See the section Remove Linkage (Dialog Builder).
Remove Fence This button places a Remove Fence button, which removes the
linkage(s) on any graphic elements contained within a fence defined by the user. See
the section Remove Fence (Dialog Builder).
USTN Command This button places a Microstation Key-in button, which lets you
associate a MicroStation key-in command with the button. When the button is selected,
MicroStation receives and executes the associated command. See the section USTN
Command (Dialog Builder).
DB Access Commands L - 9
__________________________________________________________________________________________________________________________________________________
The Linkage Mode command places a Linkage Mode field, which lets a user select the
type of linkage created with Attach Linkage. See the section Attach DB Linkage (Database
Edit).
Dialog Options
When you select Linkage Mode, the Linkage Mode dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
L - 10
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands L - 11
__________________________________________________________________________________________________________________________________________________
The List Box command places a list box on the current dialog, for text selection.
Dialog Options
When you select List Box, the List Box dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
L - 12
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Load File command places a Load File button, which displays the specified raster file.
Dialog Options
When you select Load File, the Load File dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands L - 13
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
L - 14
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Load File command lets you display a raster file. Any DM/View supported format can
be displayed. The file must be local or NFS mounted.
DB Access Commands L - 15
__________________________________________________________________________________________________________________________________________________
The Load From Library command calls the DBA Load From Library dialog, which lists
the templates found in the current template library. Your location within DB Access (Dialog
Builder, Report Builder, and so on) determines the type of template that is listed.
For information about the types of templates that can be loaded from a template library, see
the section Templates.
Dialog Options
When you select Load From Library, the Load From Library dialog appears.
Library This field displays the name of the current template library. To change the
name, select the field, clear the field, and key in a new name.
Template This field displays the name of the current template. To change the
name, select the field, clear the field, and key in a new name.
Type This field displays the type of template. To change the type, select the field,
and either key in a new type or select one from the list.
L - 16
DB Access Commands
Load This button places the dialog in Load Template mode. Select this button if
you want to load a template from the current library. To leave Load Template mode,
select Load again or select one of the other buttons on the dialog.
Delete This button places the dialog in Delete Template mode. Select this button
if you want to delete a template from the current library. To leave Delete Template
mode, select Delete again or select one of the other buttons on the dialog.
Compress This button compresses the contents of the current template library to
recover space from deleted or replaced templates.
Name, Description, Type This field lists the name, description, and type of the
templates in the template library. You can select a template to be loaded or deleted
from this list.
Most Recent This field lists the most recently used templates in the template
library. When a template is used it becomes the first in the list. The list is cleared
after each log-in. You can select templates from this field.
Select Load From Library from the Dialog Builder menu bar.
If you have modified the current dialog, the Save Dialog dialog is called,
which lets you write the current dialog template before loading another
from the template library. See the section Save Dialog (Dialog Builder)
for information on using this dialog.
The Load From Library dialog appears, displaying a list of the dialog templates in
the current library.
2.
Select Load From Library from the Report Builder menu bar.
If you have modified the current dialog, the Save Report dialog is called,
which lets you write the current report template before loading another
from the template library. See the section Save Report for information on
using this dialog.
The Load From Library dialog appears, displaying a list of the report templates in the
current library. Three types of report templates are listed: Database, ASCII, and
Userdata.
2.
DB Access Commands L - 17
Operating Sequence
If you have not previously attached a template library, the Library field
is blank and no templates are listed. Attach a template library by
selecting the Library field and keying in the path to a valid template
library file.
1.
The Load function button should appear to be depressed, indicating that the dialog is
in Load Template mode.
Select a template from the displayed list.
The specified template appears.
OR
Select Delete to enter Delete Template mode.
a.
b.
OR
Select Compress to compress the contents of the current template library.
2.
To exit the Load Template or Delete Template mode, select the function button
again or select a different button.
L - 18
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Locate Graphics command locates and highlights graphic elements with linkages to
the current row.
The Dialog Builder function lets you modify Locate Graphics to locate
elements with linkages to the current universe, or to add the elements to a
working set for further manipulation. See the section Locate Graphics (Dialog
Builder).
2.
Click the left mouse button in the view where you want the graphic element to display.
The element is centered in the view, and the prompt Point to hilite appears.
3.
DB Access Commands L - 19
__________________________________________________________________________________________________________________________________________________
The Locate Graphics command places a Locate Graphics button, which locates graphic
elements with linkage(s) to the current row or current universe on a DB Access dialog.
Dialog Options
When you select Locate Graphics, the Locate Graphics dialog appears.
The following list describes the options on the dialog except for the Place Text/Place
Symbol, Text Font, Color, and Location options. See the section Place Gadget (Dialog
Builder) for a description of these options.
Current Row/Current Query This toggle determines whether elements with
linkages to the current row or current universe are located.
L - 20
DB Access Commands
Hilite/Working Set Vector graphics: This toggle determines whether the located
elements are highlighted or added to a working set. A working set is a group of
MicroStation elements that can be manipulated at one time using MicroStation fence
contents commands (move, change color, delete, and so forth).
Raster graphics: This toggle determines whether the located elements are highlighted
or not.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands M - 1
__________________________________________________________________________________________________________________________________________________
The Measure command places a Measure button, lets the user determine the distance
between two points in a raster image.
Dialog Options
When you select Measure, the Measure dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
M-2
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands M - 3
__________________________________________________________________________________________________________________________________________________
The Measure command lets you determine the distance between two points in a raster
image.
M-4
DB Access Commands
Modify Sort
__________________________________________________________________________________________________________________________________________________
The Modify Sort command lets you modify the sort keys for a report template. Sort keys
define the order in which input rows from the database are processed and output through a
report template. A sort key can be a text string, a column in a table, or a field derived from a
calculation.
You must save the report template to save the sort keys you define.
If you select the Line Script command while the Modify Sort dialog is displayed, you can
specify scripts or user action statements, respectively, to process before or after input data is
sorted. The Sort Script dialog functions the same as the Line Script dialog. See the
section Line Script.
DB Access Commands M - 5
Dialog Options
When you select Modify Sort, the DBA Modify Sort dialog appears.
Schema This field specifies the schema containing the table in an unrelated tables
report for which you want to define a sort key. You can key in a new schema name or
use the list indicator to select a new schema.
Table This field specifies the table in an unrelated tables report for which you want
to define a sort key. You can key in a new table name or use the list indicator to select
a new table.
The Schema and Table fields are active only when you load an unrelated
tables report template.
Sort, Order, Sort Value, New Page This select-only field lists the sort keys for the
current report.
Select a line to make it a marker (highlighted) line. The field cannot be in delete or edit
mode. (That is, the Delete and Edit buttons are not depressed.) New sort keys can be
added and the delete buffer inserted before a marker line.
Add This button adds a sort key to the sort key list. Select Add after you enter
information in the area at the bottom of the dialog. The new sort key is inserted before
the marker line in the sort key list. If no marker line exists, the new sort key is
inserted at the bottom of the list.
M-6
DB Access Commands
Edit This button places the dialog in edit mode. Select Edit and then select a sort
key from the sort key list. The values for the sort key appear in the area at the bottom
of the dialog. You can edit these values.
Delete This button puts the dialog in delete mode; any line you select is deleted and
stored in a delete buffer. The delete buffer stores deleted lines until you exit delete
mode. Select Delete again to exit delete mode. The delete buffer is cleared whenever
you enter delete mode.
Undelete This button inserts the current delete buffer before the marker line in the
sort key list. If no marker line exists, the delete buffer is inserted at the bottom of the
list.
Clear Select This button clears the currently selected sort key, so that newly added
sort keys go to the bottom of the list. Otherwise, new sort keys are placed before the
current sort key.
Sort Type This checklist lets you select the type of sort.
Text This option sorts the input rows by a text string you key in. You can use
text sort keys with unrelated tables reports to specify which tables data should be
sorted first. For the table containing the rows to sort first, specify a string which
alphabetically precedes the string for the table containing the rows to sort second.
For example, for the unrelated tables Table A and Table B, make sort key 1 a text
sort for both tables. To sort the Table A rows first, key in the text string 1 for Table
A and 2 for Table B.
Text This field lets you specify the text string for a text sort.
Column This option sorts rows according to the values for a specified column in
the database.
Schema This field specifies the schema containing the column by which you
want to sort. You can key in a new schema name or use the list indicator to
select a new schema.
Table This field specifies the table containing the column by which you want
to sort. You can key in a new table name or use the list indicator to select a new
table.
Column This field specifies the column containing the values by which you
want to sort. You can key in a new column name or use the list indicator to
select a new column.
Join Columns This button lets you review and edit the join column
relationship. The button is inactive until join columns are specified.
If you define sort keys for columns from more than one table on a single table
report, you must specify a join column between the primary table and the
secondary table. See the section Join Columns.
DB Access Commands M - 7
Code Text/Number This toggle lets you specify whether a coded column sort
is by the code_number or code_text. This toggle is inactive until a coded column
is specified in the Column field.
Derived This option sorts input data according to the result of a formula. You
can sort input rows based on a calculated value that is not represented by a column
in the database.
Formula This field lets you specify a formula, which can include columns,
constants, and user variables. Because it is not tied to a line in the report
template, a derived sort key cannot reference fields (f_1, f_2, and so on).
Length This field specifies the number of characters used in the sort key. If the
length were set to 2, the values ABCD and ABZZZZ would be equivalent during the
sort.
Sort Order This checklist lets you select the order in which rows are sorted.
Ascending This option orders rows in alphabetical or numerical order:
A,A,B,C,C,D or 1,1,2,2,3.
Descending This option orders rows in reverse alphabetical or numerical order:
D,C,C,B,A,A or 3,2,2,1,1.
None This option does not sort the rows. However, sort breaks (system variables
that indicate when a sort value changes) can still be used.
New Page This checklist lets you select whether a page break is inserted into the
report when the value of the sort key changes.
M-8
DB Access Commands
Move Field
__________________________________________________________________________________________________________________________________________________
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Field and then Move from the pulldown
menus.
The prompt Select field appears.
2.
3.
4.
5.
DB Access Commands M - 9
Click the right mouse button to select a different field. Return to Step 2.
OR
Click the right mouse button to exit the command.
M - 10
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Move Gadget (Dialog Builder) command moves a gadget on the current dialog. The
gadget attaches to the cursor in drag mode, letting you move the gadget interactively on the
dialog.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Gadget and then Move from the pulldown
menus.
The prompt Select gadget or key in label appears.
2.
Select a gadget (field, function button, line, rectangle, bezel, or text) on the current
dialog or key in the numeric label for the gadget (obtained by selecting the Display
Labels command from the Dialog Builder panel menu).
The gadget highlights, and the prompt Accept/reject gadget appears.
OR
Click the right mouse button to exit the command.
3.
To accept the gadget, click the left mouse button or press Return.
The gadget attaches to the cursor in drag mode.
OR
Click the right mouse button to reject the gadget. Return to Step 2.
DB Access Commands M - 11
4.
5.
6.
Return to Step 2.
M - 12
DB Access Commands
Move Line
__________________________________________________________________________________________________________________________________________________
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Line and then Move from the pulldown
menus.
The prompt Select line appears.
2.
3.
4.
5.
DB Access Commands M - 13
__________________________________________________________________________________________________________________________________________________
The Move Redlines command places a Move Redlines button, which moves the redlines
on the drawing by the user.
Dialog Options
When you select Move Redlines, the Move Redlines dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
M - 14
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands M - 15
__________________________________________________________________________________________________________________________________________________
The Multiple Column command places a field with multiple columns. You can preset the
values to be displayed in these fields using the Default/Verify option, or you can use scripts
to write runtime data to these fields.
Dialog Options
When you select Multiple Column Field, the Multiple Column dialog appears.
M - 16
DB Access Commands
The following list describes the options on the dialog except for the Text Font, Color,
Editing, Default/Verify, Location, and some scrolling options. See the section Place
Gadget (Dialog Builder) for a description of the Text Font, Color, and Location options.
Visible rows This field specifies the number of rows displayed simultaneously in the
field.
Visible columns This field specifies the number of rows displayed simultaneously
in the field.
Total columns This field limits the total number of columns accessible.
Header label This field specifies an additional MCF. This MCF functions as a
header and horizontally scrolls in parallel with the original MCF.
Column width These radio buttons determine how individual columns are sized for
worksheets. They are disabled if the MCF has no database hook.
Vertical scroll This check box lets the MCF scroll vertically.
Display vertical scrollbar This check box displays the vertical scrollbar. Without
it, the MCF can be scrolled with the arrow keys.
Vertical scroll notify This check box causes scripts on the MCF to be processed
when vertically scrolled.
Column scrolling This check box enables column scrolling so that invisible columns
can be displayed.
Row select buttons This check box determines whether or not row select buttons
are available on the MCF. Row select buttons notify DB Access of the row number
selected.
Entire row selection This check box lets you specify how a tap on a particular cell
is interpreted. Single cell selection means that a tap activates only that field, and
Entire row selection means that a tap on a cell activates all fields in the row.
CR Required This check box lets you set this mode which forces you to press a
Carriage Return before input to the MCF is processed.
Column info This field allows setting of attributes for individual columns of the
MCF.
Data type These radio buttons lets you specify the type of data to be entered in the
field. Select ASCII, Integer, or Decimal.
Justification These radio buttons lets you specify the justification of the data to be
entered in the field. Select Left,Center, or Right.
DB Access Commands M - 17
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
M - 18
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Multi-Column Field command places a multi-column field on the current dialog, for
multi-column text entry/selection/display.
Dialog Options
When you select Multi-Column Field, the Multi-Column Field dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands M - 19
__________________________________________________________________________________________________________________________________________________
The Multi Gadget command places a button that performs several functions in succession.
You can associate up to six commands with the button.
The commands must be one of the Place Gadget commands (from Database
Utilities, Graphics Utilities, or General Utilities).
M - 20
DB Access Commands
Dialog Options
When you select Multi Gadget, the Multi Gadget dialog appears.
The following list describes the options on the dialog except for the Place Text/Place
Symbol, Text Font, and Location options. See the section Place Gadget (Dialog Builder)
for a description of these options.
Blank buttons These buttons let you specify up to six commands to associate with
the Multi Gadget button. Commands are processed in order from top to bottom.
Add Selecting this button places the dialog in Add mode. You can select a blank
button on the dialog, and then select a command to place on the selected button from
the Placement pulldown menu.
Edit Selecting this button places the dialog in Edit mode. You can select a button
that has a command associated with it. The appropriate dialog will display so that you
can edit the parameters for the command.
Delete Selecting this button places the dialog in Delete mode. You can select a
button that has a command associated with it to delete the command.
DB Access Commands M - 21
Operating Sequence
1.
Select Placement from the Toolbar menu. Select General and then Multi gadget
from the pulldown menus.
The Multi Gadget dialog appears. The dialog is in Add mode with the topmost blank
button selected.
2.
3.
4.
Select the next blank button on the Group Gadget dialog. Return to Step 2 to add
another command.
OR
Select the Edit button and a button to which a command is assigned.
The appropriate dialog for the command appears.
a.
b.
Select OK.
The command is updated.
OR
Select the Delete button and a button to which a command is assigned.
The command is deleted.
5.
Edit the available parameters on the Group Gadget dialog or accept the default
parameters. Select OK to place the button.
If you selected Keyin and specified coordinates, the button is automatically placed on
the dialog.
OR
If you selected Data Point, the button is dynamically attached to the screen cursor. The
x,y coordinates appear in the message area so you can position the button.
M - 22
DB Access Commands
Tap the left mouse button to specify the upper left corner for the button. Tap the
middle mouse button a second time to specify the lower right corner.
OR
Select Cancel to end the placement.
DB Access Commands M - 23
__________________________________________________________________________________________________________________________________________________
The Multiple Reports command places a Multiple Reports button, which calls the
Process Reports dialog. The user can load and process any report templates in the current
template library.
This function is the same as the Report button in Database Edit.
Dialog Options
When you select Multiple Reports, the Multiple Reports dialog appears.
M - 24
DB Access Commands
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands N - 1
__________________________________________________________________________________________________________________________________________________
The New Blank (Dialog Builder) command loads a blank dialog for a table you select.
Default Dialog location and size can be set through the Design Options.
A blank template lets you start from scratch, using the commands on the pulldown
(placement) menus and the toolbox to design a template with the features and functionality
you need.
Operating Sequence
1.
Select New Blank (Dialog Builder) from the Dialog Builder menu bar.
If you have modified the current dialog, the Save Dialog dialog is called,
which lets you write the current dialog template before loading a blank
dialog.
2.
Use the commands on the pulldown (placement) menus and toolbox to build the dialog.
Select Save Dialog (Dialog Builder) to save the dialog to the template library.
Do not delete the Cancel button, unless you replace it with another Cancel or
Exit button. If you process a dialog that has no Cancel or Exit button, there is
no way to dismiss the dialog.
N-2
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The New Blank (Report Builder) command loads a blank report template for a table you
select. Or you can select Unrelated Tables to load a blank template that lets you report on
tables that have no relationship.
A blank template lets you start from scratch, using the commands on the menu bar to design
a template with the features and functionality you need.
Dialog Options
When you select New Blank (Report Builder), the DBA Load Report dialog appears.
Schema This field displays the name of the current schema. Key in a schema name
or select a schema using the display list box.
Table This field displays the name of the current table. Key in a table name or
select a table from the following table list.
DB Access Commands N - 3
Table List Below the Table field is a field listing the available tables. You can
select a table from this list.
Unrelated Tables This button lets you create a template that reports on tables that
have no relationship.
Operating Sequence
1.
2.
Select the table for which you want to generate a blank report template. Select OK.
OR
Select Unrelated Tables to load a blank report template for unrelated tables.
A blank report template is loaded.
3.
Use the commands on the menu bar to build the template. Select Save Report to save
the report template.
N-4
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The New Default (Dialog Builder) command reads the structure of the attached database
and generates a default dialog template for the table you select.
A default dialog contains the same function buttons as the Database Edit dialog. You can
move, delete, copy and edit existing gadgets, as well as place new gadgets to generate a
custom dialog.
Dialog Options
When you select New Default (Dialog Builder), the Select Table dialog appears.
Schema This field displays the name of the current schema. Key in a schema name
or select a schema using the display list box.
Table This field displays the name of the current table. Key in a table name or
select a table from the table list below.
DB Access Commands N - 5
Table List Below the Table field is a field listing the available tables. You can
select a table from this list.
No Database This button lets you create a menu that can be processed on any table,
or that has no database functionality (such as a main menu).
Operating Sequence
1.
Select New Default (Dialog Builder) from the Dialog Builder menu bar.
If you have modified the current dialog, the Save Dialog dialog is called,
which lets you write the current dialog template before loading a default
dialog. See the section Save Dialog (Dialog Builder) for information on
using this dialog.
The Select Table dialog appears.
2.
Select or key in the table for which you want to generate a default dialog. Select Exit
and Save.
OR
Select No Database.
The specified dialog appears.
3.
Use the commands on the menu bar and menu panel to change the dialog. Select Save
Dialog (Dialog Builder) to save the dialog to the template library.
N-6
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The New Default (Report Builder) command reads the structure of the attached database
and generates a default report template for the table you select.
A default report template contains page headers, lines displaying columns for the input data,
subtotals and totals for numeric fields, and a sort key.
Default reports can provide a quick listing of the database table contents or can provide a
starting point for creating customized reports.
Default templates do not support unrelated table reports. See the section Blank
Reports for information on unrelated table reports.
Dialog Options
When you select New Default (Report Builder), the DBA Load Report dialog appears.
Schema This field displays the name of the current schema. Key in a schema name
or select a schema using the display list box.
DB Access Commands N - 7
Table This field displays the name of the current table. Key in a table name or
select a table from the following table list.
Table List Below the Table field is a field listing the available tables. You can
select a table from this list.
Select Columns This button calls the DBA Select Columns dialog, which is
described in the following section.
Operating Sequence
1.
2.
Select or key in the table for which you want to generate a default report template.
Select OK.
The specified template appears.
OR
Select Select Columns to choose which columns are displayed on the template.
N-8
DB Access Commands
4.
a.
Delete unwanted fields, which moves fields over from the right margin. See the
section Delete Field.
b.
Increase the Columns Per Page of the template. See the section Edit Report
Parameters.
c.
Use the Place Line and Place Field functions to add lines with additional fields.
See the sections Place Line and Place Field.
DB Access Commands N - 9
__________________________________________________________________________________________________________________________________________________
The Next Row command places a Next Row button, which makes the next row in the
universe the current row. Column values for the current row appear in their corresponding
column fields on the dialog.
Dialog Options
When you select Next Row, the Next Row dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
N - 10
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands N - 11
Numeric
__________________________________________________________________________________________________________________________________________________
The Numeric command lets you place a field that performs a specified calculation for the
numeric values in a column. A numeric field can calculate integer or floating point column
values.
You can specify update and reset conditions, as well as calculate subtotals. Numeric fields
used for subtotals and totals are usually placed on body lines and final lines respectively.
Numeric fields are not allowed on All Table lines.
Join columns let you use a single table report to report on more than one table. Any two
database tables that have columns with common values can be joined. See the section Join
Columns.
N - 12
DB Access Commands
Dialog Options
When you select Numeric, the Numeric Field dialog appears.
The following list describes the options on the menu except for the Print Condition field,
which is described in the section Place Field.
Calculation This checklist lets you select the type of calculation that will be
performed.
Total Sums the columns values.
Average Averages the columns values.
Minimum Prints the minimum value for the column.
Maximum Prints the maximum value for the column.
Percentage Prints the percentage of the total of the column.
Schema This field specifies the schema containing the table for which you want to
place a numeric field. You can key in a new schema name or use the list indicator to
select a new schema.
Table This field specifies the table for which you want to place a numeric field. You
can key in a new table name or use the list indicator to select a new table.
Column This field specifies the column from the current table for which you want to
place a numeric field. You can key in a new column name or use the list indicator to
select a new column.
DB Access Commands N - 13
Join Columns This button lets you review and edit the join column relationship.
The button is inactive until join columns are specified.
If you place a numeric field from a table other than the current table on a single table
report, you must specify a join column between the primary (that is, the current) table
and the secondary table. See the section Join Columns.
Length This field specifies the length of the numeric field.
Decimal Places This field specifies the number of decimal places for floating point
data.
Update Condition This field lets you specify a condition which must exist for the
field to be incremented. If the Update Condition field is blank, the numeric field is
incremented for every row.
Reset Condition This field lets you specify a condition which must exist for the
field to be reset to zero. If the Reset Condition field is blank, the numeric field is not
reset.
Operating Sequence
1.
2.
At the Column field, enter the name of a column from the current table using key-in or
the list indicator. Go to Step 5.
OR
At the Schema or Table field, enter a new schema or table using key-in or the list
indicator.
The Join Columns dialog appears.
3.
At the Column field for the primary table, enter the name of the join column using
key-in or the list indicator. Repeat for the secondary table.
Then
Specify whether the join is an outer join. Select OK to return to the Numeric Field
dialog.
N - 14
DB Access Commands
The Join Columns dialog disappears. The Join Columns button on the Numeric
Field dialog is active.
4.
At the Column field on the Numeric Field dialog, use key-in or the list indicator to
enter the name of the column from the secondary table for which you want to place a
field.
5.
6.
OR
Select Cancel to end the placement.
Once you establish a join column between two tables, you can place additional
numeric fields from the secondary table. The Join Columns dialog does not
reappear.
DB Access Commands O - 1
__________________________________________________________________________________________________________________________________________________
The Override Key-in Mode command calls a panel menu that lets you place buttons to let
the user override key-in modes for column fields. For example, if a user selects an Add
Query button, any value the user enters in a column field is added as query criteria,
regardless of the default key-in mode for the field.
Add Query This button places an Add Query button, which lets a user establish
query criteria, column values used to search the database for rows with common
information. See the section Add Query (Dialog Builder).
Key Column This button places a Key Column button, which lets a user perform a
quick search on the database. If a user keys in a value for a column field, DB Access
searches the database and retrieves the first row that has the same value for the
column. See the Section Key Column (Dialog Builder).
Change Row This button places a Change Row button, which lets a user edit
column values for a displayed row. See the section Change Row (Dialog Builder).
Change All This button places a Change All button, which lets a user change the
value of a column for all rows in the current universe. See the section Change All
(Dialog Builder).
Update Active This button places an Update Active button, which lets a user
insert a new row without changing the current row. See the section Update Active
(Dialog Builder).
O-2
DB Access Commands
DB Access Commands P - 1
Page
__________________________________________________________________________________________________________________________________________________
The Page command places a field that prints the report page number. You usually place
page fields on a top or bottom line.
Dialog Options
When you select Page, the DBA Page Field dialog appears.
The following list describes the options on the menu except for the Print Condition field,
which is described in the section Place Field.
Length This field lets you specify the length of the page field.
Current page/Total pages These radio buttons let you specify the page number to
print out in the page field. If you choose Current Page, the current page of your
report prints in the page field of each page. If you choose Total Pages, the total
number of pages in the report prints in the page field of each page.
P-2
DB Access Commands
Operating Sequence
Place this field using the standard Place Field operating sequence. See the section Place
Field for a description of this sequence.
DB Access Commands P - 3
__________________________________________________________________________________________________________________________________________________
The Pan command places a Pan button, which moves a raster image in a window towards
the cursor.
Dialog Options
When you select Pan, the Pan dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
P-4
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands P - 5
__________________________________________________________________________________________________________________________________________________
The Pan command moves the window area in the direction of the cursor position (top,
bottom, left, or right). When you select Pan and place a point in the window, the window
area moves toward the cursor by one-third its width or height.
P-6
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Pick Row command places a Pick Row field, which displays the current row number.
A user can edit the value in a Pick Row field to change the current row.
Dialog Options
When you select Pick Row, the Pick Row dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands P - 7
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
P-8
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Place Fence Block command places a Place Fence Block button, which places a
fence used to manipulate linkages.
Dialog Options
When you select Place Fence Block, the Place Fence Block dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands P - 9
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
P - 10
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Place Fence Shape command places a Place Fence Shape button, which places a
multi-sided fence used to manipulate linkages.
Dialog Options
When you select Place Fence Shape, the Place Fence Shape dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands P - 11
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
P - 12
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Place Field command calls a submenu of commands that place fields on a report
template.
A field must be placed on a line. If you load a blank template, you must place a
line before placing any fields.
Text This button places a field that prints a literal text string you assign. Text
fields are used to print text that remains the same in a report: titles, column headers,
and so forth. See the section Text (Report Builder).
Column This button places a field that prints column values from rows in the
current universe. You can place column fields from more than one table on a template.
See the section Column.
Date This button places a field that prints the current date. See the section Date.
Time This button places a field that prints the current time. See the section Time.
Page This button places a field that prints the current page number for the report.
See the section Page.
Counter This button places a field that keeps track of how many rows from the
input universe have processed. See the section Counter.
Numeric This button places a field that calculates a running total for a numeric
column value. See the section Numeric.
Derived This button places a field that prints the results of calculations or the
contents of a variable that has been assigned in a script or user action statement. See
the section Derived.
DB Access Commands P - 13
2.
Select the button for the type of field you want to place.
The dialog for the specified field appears.
3.
Edit the available parameters or accept the default parameters. Select OK.
The field is dynamically attached to the cursor. The values in the message area can help
you position the field on the dialog. DB Access uses F-1, F-2, and so on to represent the
first, second, and any subsequent fields on a line.
4.
OR
Select Cancel to end the placement.
P - 14
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Place Gadget (Dialog Builder) commands let you place DB Access gadgets onto
custom dialogs. Dialog gadgets provide the runtime user with access to and control of
application databases. They can also access MicroStation and CLIX commands.
When you select Place Gadget (Dialog Builder), a panel menu appears displaying
command group buttons for the four general categories of gadgets: Database Utilities,
Graphic Utilities, General Utilities, and Cosmetic Graphics. Gadgets in the first three
command groups perform particular operations, while Cosmetic Graphics effect only the
appearance of a dialog.
Database Utilities This button calls a panel menu that lets you place gadgets to
query and edit the database, and to perform other database manipulations. See the
section Database Utilities (Dialog Builder).
General Utilities This button calls a panel menu that lets you place gadgets that
perform general functions such as executing a CLIX command or exiting a dialog. See
the section General Utilities (Dialog Builder).
DB Access Commands P - 15
Common
Before Script This script is invoked before the Built-In function (if any).
Built-In The function DBA automatically invokes when the gadget receives input.
Option for the built-in function can be specified (when available) by selecting the
options button.
After Script This script is invoked after the Built-In function (if any).
Help Topic This field specifies the gadgets help topic, which can be passed to
dba_help().
Gadget Label This field is the gadget label, which can be passed to DBA and FI
functions.
Options Allows selection of built-in parameters.
Choose Font Lets the user select font, font style, and font size for the gadget.
Choose Color Lets the user select color for the gadget. Windows preference color
must be OFF; otherwise, Control Panel - Color determines the color for the gadget.
Invisible This check box determines whether the gadget is initially displayed.
Disabled This check box determines whether the gadget is initially active
(selectable).
Windows preference color This check box determines whether the gadget is color
is specified by Control Panel - Color, or the I/Forms color is used.
Initial notify This check box determines whether the dialogs initial notify routine
is called when the cursor is positioned in a field gadget.
Completion notify This check box determines whether the dialogs completion
notify routine is called when input is made to the gadget.
P - 16
DB Access Commands
Single Column
1.
Database Hook This check box determines whether database values can be
displayed from the gadget.
2.
Schema This field specifies the schema containing the table for which you want to
connect a database hook. You can key in the schema name or use the list indicator to
select a schema.
3.
Table This field specifies the table for which you want to connect a database hook.
You can key in the table name or use the list indicator to select a table.
4.
Column This field specifies the column from the current table for which you want to
place a database hook. You can key in the column name or use the list indicator to
select a column.
5.
Default Mode These radio buttons are used to select the CR mode for the gadget.
6.
Write Access This check box permits write access to the column that you are
hooking the gadget to.
Multiple Column database dialog, available from worksheet.
DB Access Commands P - 17
Choose Font
Font This field displays the current style of type. You can key in a new typeface or
select one from the list below.
Font Style This field displays the current font style. You can select a new font style
from the list below.
Size This field displays the current size of type. You can key in a new bodysize or
select one from the list below.
Sample Type This field displays an example of the current font.
P - 18
DB Access Commands
Choose Color
Off Color/On Color This toggle lets you select colors for shadowed text. Off Color
is the color used for the shadow. On Color is the color used for the text.
For normal text, the Off Color is used for the text.
Button Palette These buttons display the default colors available. Select a button
to select the color.
Specify color This field lets you key in any color slot supported by your
workstation.
DB Access Commands P - 19
Scrolling Mode This checklist lets you specify the scrolling mode available to the
user.
Vertical scrolling This checklist box creates a field with vertical scrolling. You
can optionally display a vertical scroll bar. When Vertical scrolling is selected, the
Display vertical scrollbar - NO/Display vertical scrollbar - YES and Vertical
scrollbar notify - NO/Vertical scrollbar notify - YES toggles are active.
Horizontal scrolling This checklist box creates a field with horizontal scrolling.
You can optionally display a horizontal scroll bar. When Horizontal scrolling is
selected, the Display horizontal scrollbar - NO/Display horizontal scrollbar YES toggle is active.
Display horizontal scrollbar - NO/Display horizontal scrollbar - YES This
toggle specifies whether a horizontal scroll bar appears on the field. This toggle is
active whenever horizontal scrolling is selected.
Display vertical scrollbar - NO/Display vertical scrollbar - YES This toggle
specifies whether a vertical scroll bar appears on the field. This toggle is active
whenever vertical scrolling is selected.
Vertical scrollbar notify - NO/Vertical scrollbar notify - YES This check box
lets you specify whether DBA is notified when the user selects the vertical scroll bar.
Wrap text - NO/Wrap text - YES This toggle specifies whether input is limited to
the length of the field. If you select Wrap text - NO, input terminates at the end of the
field. If you select Wrap text - YES, input wraps to the next row when it reaches the
end of the field.
Horizontal scrolling does not permit text wrapping.
P - 20
DB Access Commands
Verify against list - NO/Verify against list - YES This toggle specifies whether a
value entered in the gadget must match a value in the drop down list. If you select
Verify against list - YES, input that does not match a value in the list is rejected.
This check box is inactive if the field has no list.
Minimum value This field specifies the minimum numeric value that can be
entered in the gadget. This field is active for integer or floating point data only.
Maximum value This field specifies the maximum numeric value that can be
entered in the gadget. This field is active for integer or floating point data only.
Format string This field specifies the format for numeric data input. This field is
active for integer or floating point data only. Standard C format strings must be used
(%d, %f, etc.).
Default field values This field lets you key in default initial values for the gadget.
2.
DB Access Commands P - 21
Select the command sub-group for the gadget you want to place.
The specified panel menu appears.
4.
5.
Edit the available parameters or accept the default parameters. Select OK to place the
gadget.
If you selected Keyin and specified coordinates, the gadget is automatically placed on
the dialog.
OR
If you selected Data Point, the gadget is dynamically attached to the screen cursor. The
x,y coordinates appear in the message area so you can position the gadget.
Click the left mouse button to specify the upper left corner for the gadget. If required,
tap the left mouse button a second time to specify the lower right corner.
OR
Select Cancel to abort the placement.
P - 22
DB Access Commands
Place Line
__________________________________________________________________________________________________________________________________________________
The Place Line command calls the Edit Line menu, which lets you place blank report lines.
You must place lines on a report template before placing fields.
Dialog Options
When you select Place Line, the DBA Edit Line dialog appears.
Single table/All tables These radio buttons specify whether the line is processed
against a specific (single) table or against all tables in the attached database. Select
All tables for common lines (such as page headings) in an unrelated tables report.
Select Single table for all other report lines.
You cannot place column or numeric fields on All table lines.
DB Access Commands P - 23
Schema This field specifies the schema which contains the table associated with the
line. You can key in a new schema name or use the list indicator to select a new
schema.
This field is labeled Structure for userdata and ASCII reports.
Table This field specifies the table associated with the line. You can key in a new
table name or use the list indicator to select a new table.
The Schema and Table fields are active only if the Single table setting
is selected.
Line Type This checklist specifies the current line type.
Preface These lines print once at the beginning of a report. After all preface
lines are printed, the report continues on a new page. You can use preface lines to
print a cover sheet, title page, or legend.
Top These lines print once at the top of every page. Page headings, column
headings, date, time, and page number are included in the top lines of default
reports created with the Load Default command.
Body These lines print once for every row in the input universe. They usually
contain column fields.
Bottom These lines print once at the bottom of every page. Page numbers or
footnotes can be printed with bottom lines.
Final These lines print once at the end of the report. You can use final lines to
print report summaries or report totals.
Blank Lines Before This field specifies the number of blank lines that print before
the line.
Blank Lines After This field specifies the number of blank lines that print after the
line.
Print Condition This field lets you specify a condition which must exist for the line
to print. If Print Condition is blank, the line is always printed.
Operating Sequence
1.
Select Placement from the Toolbar menu and then select Line from the pulldown
menu.
The Edit Line dialog appears.
2.
Edit the available parameters or accept the default parameters. Select OK.
P - 24
DB Access Commands
The line is dynamically attached to the cursor. The values in the message area can help
you position the blank line on the template.
3.
DB Access Commands P - 25
__________________________________________________________________________________________________________________________________________________
The Plot Window command places a Plot Window button, which plots the specified raster
image.
Dialog Options
When you select Plot Window, the Plot Window dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
P - 26
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands P - 27
__________________________________________________________________________________________________________________________________________________
The Plot Window command creates a Type 2 (straight byte) file for the specified window
and plots it using the command string specified in the DBA_PLOT environment variable.
P - 28
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Previous Row command places a Previous Row button, which makes the previous
row in the universe the current row. Column values for the current row appear in their
corresponding column fields on the dialog.
Dialog Options
When you select Previous Row, the Previous Row dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands P - 29
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
P - 30
DB Access Commands
Process Dialog
__________________________________________________________________________________________________________________________________________________
The Process Dialog command processes dialogs created in the DB Access Dialog Builder.
This processing lets you test gadgets on the current dialog to see if they are working
properly.
You can also process the current dialog from the Execute palette of the DB Access main
menu bar or from the Dialog Builder toolbar.
DB Access Commands P - 31
__________________________________________________________________________________________________________________________________________________
The Process Query command returns all rows in the current table that meet the query
criteria. The set of rows that meets the query criteria is called a universe of rows. If no
query criteria exist, the universe contains all rows for the current table.
If you place a fence in a design file, Process Query returns all rows with database linkages
to the elements within the fence.
P - 32
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Process Query command places a Process Query button, which queries all rows of
the current table that meet the current query criteria. If no query criteria exists, it queries
all rows in the current table.
Dialog Options
When you select Process Query, the Process Query dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands P - 33
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
P - 34
DB Access Commands
Process Report
__________________________________________________________________________________________________________________________________________________
The Process Report command processes templates created in the Report Builder. You
can send report output to a file or review it on the screen.
To generate the input universe of rows for the report, you can use an SQL select statement or
a saved query criteria. Or the universe can be all rows with database linkages to elements
within a fenced area in a design file. You can access the Process Report command from the
menu bar, from Database Edit, or from the Report Builder menu bar.
The Process button calls the Process Reports dialog.
Output File This field specifies the output filename for the report generated when
you process the report template. If you do not specify a full pathname for the file, it is
written to your working directory (from which you invoked DB Access).
If the output filename is stdout, no file is created. The report output is sent to the DB
Access standard output device which, by default, is the invoking window.
Element List/Input File This field specifies an element list or input file to use as
input to a report template.
Load Report This button calls the Load From Library dialog, which lets you load
a report template from a specified template library. For more information, see the
section Load From Library.
Edit Query This button calls the Edit Query dialog, which lets you load a query
criteria template. The query criteria is used to generate an input universe of rows for
the report. For unrelated table reports, you can load a query criteria template for each
table. You can also edit the current query criteria. For more information, see the
section Edit Query (Database Edit).
Process This button processes the input universe of rows against the current report
template to generate the report to the specified output file.
List Output This button calls a report output dialog, which is described in the
following section, Report Output Dialog Options.
Report Tables The fields just below the Element List/Input File field list the
tables that the current report template reports on. If the report is an unrelated tables
report, more than one table is listed. You can control the input universe for each table
independently. A single table report template lists only one (primary) table.
Processing Options This field lets you select the method for generating the input
universe for the report.
DB Access Commands P - 35
All This option includes all rows for the specified table as input for the report
template.
Query This option includes rows that meet the specified query criteria to
generate the input universe for the report template. This option also determines if
the fence contents in a design file are to be used as the query criteria. Use the
MicroStation Place Fence command to place a fence around the elements that you
want to report on. The database rows with linkages to the fenced elements will
serve as input to the report.
If you load a query criteria template but do not select Query, the query
criteria is not used.
Element List/Input File This option uses an element list/ASCII file as input to
a user data/ASCII structure template. You must identify the file in the Element
List/Input File field.
Exclude This option excludes the table as input to the report template. Select
this option only with unrelated table reports when you want to report on some, but
not all, of the tables.
P - 36
DB Access Commands
Read More This button displays the next page of a multipage report.
Read To EOF This button scrolls to the end of the report.
Text Size This button calls the Text Size dialog, which lets you change the size of
the text display on the report output dialog. Use the slider to change the text size.
Print This button displays the standard print dialog, so that report output can be
printed.
DM/DB Access Environment Variables
DB Access Commands Q - 1
__________________________________________________________________________________________________________________________________________________
The Query command calls a panel menu containing commands for placing Query function
buttons on the current dialog.
Process Query This button places a Process Query button, which queries all rows
of the current table that meet the Query Criteria. If no Query Criteria exists, it queries
all rows in the current table. See the section Process Query (Dialog Builder).
Edit Query This button places an Edit Query button, which displays the Edit
Query screen. From the Edit Query screen you can view, edit, and save the current
query criteria, or load a query criteria from the attached template library. See the
section Edit Query (Dialog Builder).
Initialize Query This button places an Initialize Query button, which initializes
(clears) the current query criteria. See the section Initialize Query (Dialog Builder).
AND/OR Toggle This button places an AND/OR toggle, which lets you select a
logical AND or OR operation when establishing query criteria with Add Query. See
the section AND/OR Toggle (Dialog Builder).
Relational Operator This button places a Relational Operator field, which lets
you search for ranges of column values such as greater than and less than when
establishing query criteria with Add Query. See the section Relational Operator (Dialog
Builder).
Set Query This button places a Set Query button, which lets you initialize the
query criteria, load a saved query template, and process the query criteria in one step.
See the section Set Query (Dialog Builder).
Q-2
DB Access Commands
Add Query This button places an Add Query button, which lets you establish
query criteria, column values used to search the database for rows with common
information. See the section Add Query (Dialog Builder).
DB Access Commands Q - 3
__________________________________________________________________________________________________________________________________________________
The Quit command places a Quit button, which dismisses the specified raster graphics
window.
Dialog Options
When you select Quit, the Quit dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Q-4
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands Q - 5
__________________________________________________________________________________________________________________________________________________
The Quit command dismisses the selected window. To use this command, select Quit and a
window.
Q-6
DB Access Commands
DB Access Commands R - 1
__________________________________________________________________________________________________________________________________________________
The Radio Button command places a radio button. You can use scripts to define the
function or read the value of the radio button.
Dialog Options
When you select Radio Button, the Radio Button dialog appears.
The following list describes the options on the dialog except for the Place Text/Place
Symbol, Text Font, Color, and Location options. See the section Place Gadget (Dialog
Builder) for a description of these options.
Unselected/Selected This check box specifies the default value for the gadget.
Radio Group This field specifies a label number for a group of radio buttons that
you place. Assigning a group label number lets you treat the checklist as a single
gadget, with only one box selectable at a time. Each box also has an individual label
number. If Group Label is non-zero, Radio buttons are placed instead of checklists.
R-2
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands R - 3
__________________________________________________________________________________________________________________________________________________
Raster View gadgets are placed on dialogs so that runtime users can load and manipulate
supported raster files and text files. The Raster View command calls the following panel
menu:
Load File This button places a Load File button, which displays the specified
raster file. For more information, see the section Load File (Dialog Builder).
Plot Window This button places a Plot Window button, which plots the specified
display. For more information, see the section Plot Window (Dialog Builder).
Quit This button places a Quit button that dismisses the specified graphics window.
For more information, see the section Quit (Dialog Builder).
Fit This button places a Fit button, which displays an entire document in the
specified window. For more information, see the section Fit View (Dialog Builder).
Measure This button places a Measure button, which determines the distance
between two points in a raster image. For more information, see the section Measure
(Dialog Builder).
Pan This button places a Pan button, which moves the window area toward the
cursor. For more information, see the section Pan (Dialog Builder).
Rotate This button places a Rotate button, which moves the raster image in the
window area in a counter-clockwise direction. For more information, see the section
Rotate (Dialog Builder).
R-4
DB Access Commands
Update View This button places an Update View button, which refreshes the
specified window. For more information, see the section Update View (Dialog Builder).
Window Area This button places a Window Area button, which displays the area
specified by two points. For more information, see the section Window Area (Dialog
Builder).
Window Center This button places a Window Center button, which brings the
selected point in a raster image to the center of the window. For more information, see
the section Window Center (Dialog Builder).
Window Scroll This button places a Window Scroll button, which moves the
window area from one specified point to another. For more information, see the section
Window Scroll (Dialog Builder).
Zoom In This button places a Zoom In button, which displays half as much of the
specified file at twice the resolution. For more information, see the section Zoom In
(Dialog Builder).
Zoom Out This button places a Zoom Out button, which displays twice as much of
the specified file at half the resolution. For more information, see the section Zoom Out
(Dialog Builder).
DB Access Commands R - 5
__________________________________________________________________________________________________________________________________________________
The Rectangle command lets you place a rectangle on the current dialog. You can select
line style, and weight. Rectangles are useful for grouping related gadgets together.
Dialog Options
When you select Rectangle, the Rectangle dialog appears.
The following list describes the options on the dialog except for the Location and Color
options. See the section Place Gadget (Dialog Builder) for descriptions of these options.
Select Line Weight This button calls a dialog that lets you specify a line weight for
the rectangle you are placing. Use the slider on the dialog to select an active line
weight.
Select Line Style This button calls a dialog that lets you specify a line style for the
rectangle you are placing. Select the checklist box next to the style you want to use.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
R-6
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Relational Operator command places a Relational Operator field, which lets you
search for ranges of column values such as greater than and less than when establishing
query criteria with Add Query.
You can key in a new value or select the list indicator in the Field Options subdialog to
select from the available relational operators.
At runtime, comments are appended to the relational operator using the List option from the
Dialog Builder. Place comments after a semicolon in the predefined list values field. For an
example of predefined list values, edit the Relational Operator field on a default dialog.
Dialog Options
When you select Relational Operator, the Relational Operator dialog appears.
DB Access Commands R - 7
The following list describes the options on the dialog except for the Text Font, Color, and
Location options. See the section Place Gadget (Dialog Builder) for a description of these
options.
Rows This field lets you specify the number of rows that appear simultaneously in
the associated list field for the Relational Operator field.
Length This field lets you specify the length for the field.
Field Options This subdialog lets you call other dialogs to set further parameters.
Select from Scrolling, and Defaults/Verify. The respective dialogs are described in
the section Place Gadget (Dialog Builder).
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
R-8
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Remove Fence button removes linkages attached to graphic elements within a fence
you place.
Delete Row
When you remove a database linkage from a graphic element, the value of the Delete Row
toggle determines whether the database rows linked to the graphic elements are deleted also.
If Delete Row is toggled to On, the rows linked to the element are deleted when the
linkages are removed. Off specifies that only the linkages are removed.
2.
Click the left mouse button anywhere on the image to accept the elements in the fence
you have specified.
The message Processing fence contents appears, followed by Linkages removed. If
Delete Row is set to On, a warning screen appears, asking you to verify the deletion of
rows along with the linkages.
OR
Click the right mouse button to reject the fence and exit the command.
DB Access Commands R - 9
3.
Select Yes to delete all linkages and corresponding database rows for the graphic
elements in the fence.
The message Linkage(s) removed appears. DB Access exits the command.
OR
Select No to cancel the remove linkages processing.
DB Access exits the command.
2.
Click the left mouse button in the window to remove the linkages.
DB Access removes the displayed linkages and exits the command.
OR
If no linkages exist within the fence, the message No linkages found appears. DB Access
exits the command.
OR
Click the right mouse button to reject the fence and exit the command.
R - 10
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Remove Fence command places a Remove Fence button, which removes the linkages
on any graphic elements contained within a fence defined by the user. For more information,
see the section Remove Fence (Database Edit)
Dialog Options
When you select Remove Fence, the Remove Fence dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands R - 11
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
R - 12
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Remove Linkage button lets you remove linkages attached to a graphic element.
Delete Row
When you remove a database linkage from a graphic element, the value of the Delete Row
toggle determines whether the database rows linked to the graphic elements are deleted also.
If Delete Row is toggled to On, the rows linked to the element are deleted when the
linkages are removed. Off specifies that only the linkages are removed.
2.
Position the cursor on the graphic element for which you want to remove the database
linkage(s). Tap the left mouse button.
The element highlights, and the prompt Accept/reject element appears.
OR
Click the right mouse button to exit the command.
3.
Click the left mouse button anywhere on the image to accept the element.
The type of linkage (Read or Read/Write), the table name, and the entity (table) number
and mslink value for the first linkage on the element appear in the following format:
R/W <tablename> (E#, mslink = n)
where # equals the table number (the value for the table in the entitynum column of the
mscatalog table) and n equals the mslink value for the database row. The message
Accept/reject linkage appears.
OR
DB Access Commands R - 13
If there are no linkages attached to the selected element, the message No linkage present
appears.
Return to Step 2.
OR
Click the right mouse button to reject the highlighted element. Return to Step 2.
4.
Click the left mouse button anywhere on the image to accept the displayed linkage.
The message Linkage removed appears. If Delete Row is set to On, the corresponding
row in the database is deleted. The prompt Identify element/reset to exit reappears.
OR
Click the right mouse button to reject the displayed linkage.
Information for the next linkage on the element appears.
Repeat Step 3.
OR
If no more linkages are attached, the message No linkage present appears. The prompt
Identify element/reset to exit reappears.
5.
2.
Position the cursor on the graphic element for which you want to remove the linkages.
Click the left mouse button.
The element highlights, and the following prompt appears:
Accept/Reject,<type> linkage (for note or file linkage)
Accept/Reject, Entity Number = #, Mslink = n (for
database linkage)
where # equals the table number (the value for the table in the entitynum column of the
mscatalog table) and n equals the mslink value for the database row.
OR
R - 14
DB Access Commands
If there are no linkages attached to the selected element, the message No linkage present
appears. DB Access exits the command.
OR
Click the right mouse button to exit the command.
3.
Click the middle mouse button in the window to accept (remove) the displayed linkage.
OR
Click the right mouse button to reject the displayed linkage.
The element highlights, indicating another linkage. You are prompted to accept/reject
the linkage.
Repeat Step 3.
OR
If no more linkages are attached, the message No more linkages appears.
DB Access Commands R - 15
__________________________________________________________________________________________________________________________________________________
The Remove Linkage command places a Remove Linkage button, which removes the
linkages on any graphic elements selected by the user. For more information, see the section
Remove Linkage (Database Edit).
Dialog Options
When you select Remove Linkage, the Remove Linkage dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
R - 16
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands R - 17
__________________________________________________________________________________________________________________________________________________
The Report command calls the Process Reports dialog, which lets you load and process a
report template. For more information, see the section Process Report.
R - 18
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Report command calls a menu panel containing commands for placing Report function
buttons on a dialog.
Multiple Reports This button places a Multiple Reports button, which calls the
Process Reports dialog. The user can load and process any report templates in the
current template library. See the section Multiple Reports (Dialog Builder).
Review This button places a Review button, which generates a quick review of the
current universe of rows to an output screen. See the section Review (Dialog Builder).
Single Report This button places a Report button, which is linked to a report
template in the current template library (and optionally to a query criteria template).
When you selects Report, the report template is processed against the current universe
of rows (or the universe generated by the specified query criteria). The report output is
written to the screen. See the section Single Report (Dialog Builder).
DB Access Commands R - 19
__________________________________________________________________________________________________________________________________________________
The Restore Defaults command restore the database edit screen to its original state.
R - 20
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Restore Defaults command places a Restore Defaults button, which restores the
default values of the columns displayed by any column field.
Dialog Options
When you select Restore Defaults, the Restore Defaults dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands R - 21
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
R - 22
DB Access Commands
__________________________________________________________________________________________________________________________________________________
Dialog Options
When you select Review, a Universe Review dialog appears.
Universe Listing This worksheet displays multiple columns and rows from the
current universe. Worksheet headers list the names of on columns.
Filename This field specifies the name of a file to which the universe review can be
written.
Line Length This field specifies the number of characters in a line in the output
file.
Page Length This field specifies the number of lines in a page in the output file.
Write File This button writes the universe review to the file specified.
DB Access Commands R - 23
Print File This button prints the universe review. This button invokes the Print
dialog, which sends the review to a print device.
Read More This button displays the next page of a multipage review.
Read To EOF This button scrolls to the end of the universe review.
R - 24
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Review command places a Review button, which sends a formatted column-by-column
listing of the current universe of rows to the screen. Only those columns toggled ON are
included in the review.
Dialog Options
When you select Review, the Review dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands R - 25
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
R - 26
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Review Element command reviews linkages for a graphic element in a design or raster
file. When you select Review Element and identify a graphic element for which a linkage
exists, DB Access responds differently according to the linkage type.
Linkage
Response
Database
Notes
File
2.
At the prompt, Identify element/reset to exit, place the cursor on the graphic element for
which you want to review the database linkages. Click the left mouse button.
The element highlights, and the prompt Accept/reject element appears.
OR
Click the right mouse button to exit the command.
DB Access Commands R - 27
3.
Click the left mouse button anywhere on the image to accept the highlighted graphic
element.
The type of linkage (Read or Read/Write), the table name, and the entity (table) number
and mslink value for the first linkage on the element appear in the following format:
R/W <tablename> (E#, mslink = n)
where # equals the table number (the value for the table in the entitynum column of the
mscatalog table) and n equals the mslink value for the database row. The message
Accept/reject linkage appears.
OR
If there are no linkages attached to the selected element, the message No linkage present
appears.
Return to Step 2.
OR
Click the right mouse button to reject the highlighted element. Return to Step 2.
4.
Click the left mouse button anywhere on the image to accept the displayed linkage.
The row with the mslink value equal to the displayed value for the linkage appears in the
Database Edit dialog. The universe now consists of the accepted row.
The prompt Identify element/reset to exit reappears.
OR
Click the right mouse button to reject the displayed linkage.
Information for the next linkage on the element appears.
Repeat Step 4.
OR
If no more linkages are present, the message No linkage present appears.
5.
R - 28
DB Access Commands
2.
Place the cursor on the graphic element for which you want to review the linkages. Tap
the left mouse button.
The element highlights, and the following prompt appears:
Accept/Reject, <type> linkage (for note or file linkage)
Accept/Reject, Entity Number = #, Mslink = n (for database linkage)
where # equals the table number (the value for the table in the entitynum column of the
mscatalog table) and n equals the mslink value for the database row.
OR
If there are no linkages attached to the selected element, the message No linkage present
appears.
3.
Tap the left mouse button in the window to accept the displayed linkage.
DB Access responds according to the linkage type. See the preceding table.
OR
Click the right mouse button to reject the displayed linkage.
The element highlights, indicating another linkage. You are prompted to accept/reject
the linkage.
Repeat Step 3.
OR
If no more linkages are present, the message No more linkages appears.
DB Access Commands R - 29
__________________________________________________________________________________________________________________________________________________
The Review Element command places a Review Element button, which reviews linkages
for a graphic element in a design or raster file. For more information, see the section Review
Element (Database Edit).
Dialog Options
When you select Review Element, the Review Element dialog appears.
The following list describes the options on the dialog except for the Place Text/Place
Symbol, Text Font, Color, and Location options. See the section Place Gadget (Dialog
Builder) for a description of these options.
R - 30
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands R - 31
__________________________________________________________________________________________________________________________________________________
The Review Sequence command displays existing sequences on the current dialog as
dotted yellow arrows between the sequenced gadgets.
R - 32
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The RIS Schema Manager dialog displays a three-column table listing all the schemas
known to RIS, each schema type, and the schemas associated dictionary. Buttons
corresponding to the actions of the Schema Manager are also on the form. When you select a
button, you initiate that particular action, and the associated subform is displayed. When
you select one of the schemas from the list on the RIS Schema Manager dialog, information
about that schema is displayed on the subform.
Operating Sequence
1.
DB Access Commands R - 33
2.
3.
Select the button from the RIS Schema Manager dialog for the function you want to
use. The RIS Schema Manager functions are described briefly in the following list. See
the section listed for a complete description.
Button Name
Function
Schema Definition
Data Definition
Schema File
Lets you review and manipulate schema files. See the section
Schema File.
Locate Client
Set
R - 34
DB Access Commands
Schema Definition
The Schema Definition dialog lets you initiate functions to display schema information,
create and drop schemas, access secure schemas and dictionaries, and modify schema
passwords, node information, and DB2 passwords.
Operating Sequence
1.
Select the Schema Definition button from the RIS Schema Manager dialog.
The Schema Definition dialog appears. The dialog has eight buttons that let you
initiate a particular action.
2.
Select the button from the Schema Definition dialog for the function you want to use.
The Schema Definition functions are described briefly in the following list. See the
section for a complete description.
Button Name
Function
Schema Information
Create Schema
Drop Schema
Dictionary Access
Lets you modify the schema password. See the section Modify
Schema Password Form.
DB Access Commands R - 35
3.
Lets you modify the DB2 password. See the section Modify
DB2 Password.
R - 36
DB Access Commands
Schema Information
The Schema Information dialog displays information about a specified schema. You can
key in a schema name or select a name from the schema list on the RIS Schema Manager
dialog.
This dialog only displays information; it is not editable.
Operating Sequence
1.
Select the Schema Information button from the Schema Definition dialog.
The Schema Information dialog appears and displays information about the active
schema (if one has been selected from the RIS Schema Manager dialog).
2.
Key in the schema name in the Schema Name field on the Schema Information
dialog or select a schema from the schema list on the RIS Schema Manager dialog if
the schema you want is not already the active schema.
The information is displayed.
3.
DB Access Commands R - 37
Create Schema
The Create Schema dialog creates new RIS schemas and corresponds directly to the RIS
create schema statement. The database-specific information on the Create Schema dialog
can be entered in three ways:
1.
2.
By selecting an existing schema from the RIS Schema Manager dialog. The
database-specific information about that schema is entered into the Create Schema
form. This method is particularly convenient when creating additional schemas on a
database.
3.
By selecting the Display Databases button. A dialog listing all the known RIS
databases is displayed. Selecting one of these databases enters information about that
database into the Create Schema dialog.
Operating Sequence
1.
Select the Create Schema button from the Schema Definition dialog.
Key in the appropriate values for the DBMS-independent section of the dialog. The
following list explains the DBMS-independent fields:
R - 38
DB Access Commands
a.
Schema Name Specifies the schema name. Select the field and key in a
schema name.
b.
Password Optionally, select the Password field to specify a password for the
schema. The No Echo/Echo toggle causes the password to not display (No Echo)
or display (Echo) when it is keyed in.
c.
d.
e.
f.
Get Client Address Fills the Nodename or Address fields with the
addresses of the client machines.
g.
h.
Password Lets you specify a password for the database username. The No
Echo/Echo toggle causes the password to not display (No Echo) or display (Echo)
when it is keyed in.
i.
j.
OS Type Specifies the operating system type on which the server is running.
For example, UNIX, VMS, or Windows NT.
k.
Use Existing Dictionary Toggles between No (the default) and Yes. You
must already have permission from the dictionary owner to use an existing
dictionary.
l.
3.
Database Type Displays a list of the database types. If the selected database type
requires additional information, fields to key in that information will be displayed when
you select the database type.
4.
Select the list indicator on the right side of the Database Type field.
DB Access Commands R - 39
6.
R - 40
DB Access Commands
The RIS Databases dialog is displayed. Databases known to RIS are listed on this
dialog.
If you select a database from the RIS Databases dialog, information about that
database is placed in the Create Schema dialog.
Fields specific to each type of database are displayed on the Create Schema form.
7.
Go to the section specific to the type of database you are creating for instructions on
filling in the DBMS-dependent fields.
DB Access Commands R - 41
Operating Sequence
1.
Key in the appropriate values for the INFORMIX-dependent dialog. The following list
explains these fields:
Database Name Specifies the INFORMIX database name accessible to the
schema.
Database Management System Location Specifies the path where the
INFORMIX RDBMS is installed.
SQLEXEC Specifies whether the INFORMIX OnLine or INFORMIX Standard
Engine is being used. Needs to be set if both the Standard Engine and Online exist
on the machine. Otherwise INFORMIX defaults to on-line. Where $INFORMIXDIR
is the location of the INFORMIX Database Management System, if using
INFORMIX OnLine, specify $INFORMIXDIR/lib/sqlturbo; if using the INFORMIX
Standard Engine, specify $INFORMIXDIR/lib/sqlexec.
DBTEMP Specifies where INFORMIX will create temporary files.
TBCONFIG Specifies the location of the TBCONFIG file used by INFORMIX
OnLine. (This file permits INFORMIX OnLine to be configured so that a large
number of tables can be used with joins. Also, table structures and limits can be
varied with this file. Refer to your INFORMIX documentation for more information
on the TBCONFIG file.)
2.
When complete, select the Run button to execute the dialog and create the schema.
OR
Select the Restore button to clear all the fields on the dialog.
OR
R - 42
DB Access Commands
Select the Force button to drop previously created RIS dictionary objects (such as RIS
tables, views, indexes, and schema privileges) before creating the new schema.
OR
Select the Close button to exit the dialog without creating a schema.
Operating Sequence
1.
Key in the appropriate values for the ORACLE-dependent fields. The following list
explains these fields:
Database Name Specifies the system ID (SID) of the ORACLE database.
Database Management System Location Specifies the ORACLE home path
(where ORACLE is installed).
OS Username Specifies a valid OS log-in name on the server machine.
Password Specifies the OS log-in password, if any.
For a given ORACLE SID, all schemas created using that SID must
have the same OS Username and Password combination.
2.
When complete, select the Run button to execute the dialog and create the schema.
OR
Select the Restore button to clear all the fields on the dialog.
DB Access Commands R - 43
OR
Select the Force button to drop previously created RIS dictionary objects (such as RIS
tables, views, indexes, and schema privileges) before creating the new schema.
OR
Select the Close button to exit the dialog without creating a schema.
Operating Sequence
1.
Key in the appropriate values for the INGRES-dependent fields. The following list
explains these fields:
Database Name Specifies the INGRES database name accessible to the schema.
Database Management System Location Needed for all UNIX server nodes.
It is optional for VAX installations. This option provides RIS with the location of the
INGRES software on the remote system. It should be the same as the UNIX
environment variable II_SYSTEM on the remote system.
2.
When complete, select the Run button to execute the dialog and create the schema.
OR
Select the Restore button to clear all the fields on the dialog.
OR
R - 44
DB Access Commands
Select the Force button to drop previously created RIS dictionary objects (such as RIS
tables, views, indexes, and schema privileges) before creating the new schema.
OR
Select the Close button to exit the dialog without creating a schema.
Operating Sequence
1.
Key in the appropriate values for the DB2-dependent fields. The following list explains
these fields:
Database Name Specifies a DB2 database name accessible by the schema. It is
case sensitive.
Group Name Specifies the RACF group name for TCPIP protocol. The RACF
group name is passed to the RIS Transaction Processor security exit on the IBM
mainframe system for use during sign-on processing. (Optional.)
OS Username Specifies a valid OS log-in name on the server machine.
Password Specifies the OS log-in password, if any.
For LU6.2 protocol, the Group Name field is ignored in this version of
RIS.
IBM Network Protocol Specifies the network protocol that RIS uses to get to
the IBM machine on which the DBMS resides. The IBM network protocols LU6.2
and TCP are displayed.
DB Access Commands R - 45
2.
Select a protocol.
The following fields are valid for LU6.2 network protocol only:
RIS LU Name Specifies SSI local LU name, either fully qualified or local. It is
case sensitive.
Host LU Name Specifies SSI remote LU name, either fully qualified or local. It
is case sensitive.
LU62 Mode Name Name of the Intergraph System Administrator assigned to
the node that permits communication to the RIS program on an IBM machine. The
mode assigns attributes to the connection and must be predefined by the Intergraph
System Administrator. The Mode Name is defined when LU6.2 is configured. This
value is case sensitive.
Host Program Name Specifies the name the IBM System Administrator called
the RIS server when it was installed on the IBM, the CES transaction name. This
name is case sensitive.
R - 46
DB Access Commands
The following fields are valid for TCP network protocol only:
When complete, select the Run button to execute the dialog and create the schema.
OR
Select the Restore button to clear all the fields on the dialog.
OR
Select the Force button to drop previously created RIS dictionary objects (such as RIS
tables, views, indexes, and schema privileges) before creating the new schema.
OR
Select the Close button to exit the form without creating a schema.
DB Access Commands R - 47
Operating Sequence
1.
Key in the appropriate value for Database Name to specify the name of the database
the schema accesses.
2.
When complete, select the Run button to execute the dialog and create the schema.
OR
Select the Restore button to clear all the fields on the dialog.
OR
Select the Force button to drop previously created RIS dictionary objects (such as RIS
tables, views, indexes, and schema privileges) before creating the new schema.
OR
Select the Close button to exit the form without creating a schema.
R - 48
DB Access Commands
Operating Sequence
1.
Key in the appropriate values for the SYBASE-dependent fields. The following list
explains these fields:
Database Name Specifies the name of the database the schema accesses.
Database Management System Location Specifies the path where SYBASE is
installed. This field is not used if SYBASE SQL Server 04.02.XX on Windows NT is
the database server. See the README.TXT file delivered with the RISSYBDS
product more more information.
OS Username Specifies a valid OS log-in name on the server machine.
Password Specifies the OS log-in password, if any.
DSQUERY Specifies the database query listener. It is the alias given in the
interface file. The SYBASE SQL Server 04.02.XX on Windows NT does not use the
interface file, so this field is not necessary for this server.
IFILE Specifies the interface filename. This field is not used if the SYBASE SQL
Server 04.02.XX is the database server.
2.
When complete, select the Run button to execute the dialog and create the schema.
OR
Select the Restore button to clear all the fields on the dialog.
OR
Select the Force button to drop previously created RIS dictionary objects (such as RIS
tables, views, indexes, and schema privileges) before creating the new schema.
DB Access Commands R - 49
OR
Select the Close button to exit the dialog without creating a schema.
Operating Sequence
1.
Key in the appropriate values for the OS400-dependent fields. The following list
explains these fields:
Database Name Specifies the name of the AS/400 SQL collection where user
tables are located and new tables are created. The value must be a valid AS/400
library name.
RIS Dictionary Database Name Specifies the name of the AS/400 SQL
collection where the RIS dictionary objects are located. This may be the same as
Database Name, but need not be. The value must be a valid AS/400 library name.
OS400 Network Protocol Specifies the path where the RDBMS is installed for
UNIX. This field is disabled for Windows NT.
Mode Name Specifies the SNA mode name used to connect to the AS/400. The
value is supplied by your AS/400 System Administrator. The value must be entered
in uppercase.
OS Username Specifies the operating system username.
Password Specifies the password for the operating system username.
R - 50
DB Access Commands
RIS LU Name Specifies the local SNA LU name used to connect to the AS/400.
The value is supplied by your AS/400 System Administrator. The value must be
entered in uppercase.
Host LU Name Specifies the remote SNA name used to connect to the AS/400.
The value is supplied by your AS/400 System Administrator. The value must be
entered in uppercase.
Host Program Name Specifies the name of the RIS OS/400 Transaction
Processor program. The value is supplied by your AS/400 System Administrator.
The value must be entered in uppercase, as PROGRAM or LIBRARY/PROGRAM, as
supplied by your AS/400 System Administrator.
The values for Mode Name, RIS LU name, and Host LU Name
must also be configured in the SNA software configuration for the
gateway server.
2.
When complete, select the Run button to execute the dialog and create the schema.
OR
Select the Restore button to clear all the fields on the dialog.
OR
Select the Force button to drop previously created RIS dictionary objects (such as RIS
tables, views, indexes, and schema privileges) before creating the new schema.
OR
Select the Close button to exit the dialog without creating a schema.
DB Access Commands R - 51
Drop Schema
The Drop Schema dialog is used to drop schemas using the information you specify and
corresponds directly to the RIS drop schema statement.
Operating Sequence
1.
Select the Drop Schema button from the Schema Definition dialog.
Key the schema name into the Schema Name field on the Drop Schema dialog, or
select a schema from the schema list on the RIS Schema Manager dialog.
If the schema is a secure schema, a subform is displayed.
Enter the database username, database password, operating system username, and
operating system password in the subform, if displayed.
3.
Select the Run button to execute the dialog and drop the schema.
OR
Select the Force button to drop previously created RIS dictionary objects (such as RIS
tables, views, indexes, and schema privileges) before creating the new schema.
The Force button removes the schema regardless of who RIS thinks may
be using it.
OR
Select the Close button to exit the Drop Schema form without dropping the schema.
R - 52
DB Access Commands
Operating Sequence
1.
Select the Secure Schema Access button from the Schema Definition dialog.
The Secure Schema Access dialog displays. If a schema has already been selected
from the RIS Schema Manager dialog, this schema information displays on the
Secure Schema Access dialog.
2.
Select a schema from the RIS Schema Manager dialog or key in a schema name to
display information about a schema, if the schema you want is not already the active
schema.
A subform is displayed.
Enter the database username, database password, operating system username, and
operating system password in the subform, if displayed.
3.
Select the Action toggle and the Privilege toggle to choose between granting and
revoking resource and connect privileges.
4.
Specify a username.
5.
DB Access Commands R - 53
Dictionary Access
This dialog grants and revokes access to a dictionary for a selected user.
Operating Sequence
Select the Dictionary Access button from the Schema Definition dialog.
Select a schema from the RIS Schema Manager dialog or key in a schema name to
display information about a schema, if the schema you want is not already the active
schema.
If the schema is a secure schema, a subform is displayed.
Enter the database username, database password, operating system username, and
operating system password in the subform, if displayed.
2.
Select the Action toggle to choose between granting and revoking access.
3.
Enter the name of the user to be granted or revoked access in the Selected User field.
4.
OR
Select the Close button to exit the dialog without granting or revoking dictionary
access.
R - 54
DB Access Commands
Operating Sequence
1.
Select the Modify Schema Password dialog from the Schema Definition form.
Select a schema from the RIS Schema Manager dialog or key in a schema name to
display information about a schema, if there is no active schema.
3.
4.
5.
Select the Run button to alter the schema. You must select the Run button after each
action to alter the schema.
OR
Select the Close button to exit the dialog without altering the schema.
DB Access Commands R - 55
Operating Sequence
1.
Select the Modify Node Information form from the Schema Definition form.
Select a schema from the RIS Schema Manager or key in a schema name to display
information about a schema.
3.
Select the Modify Node button from the dialog. The current addresses display in the
Nodename or Address fields.
Key in the new names or addresses in the fields. This action can also be used to change
the order of the protocols.
4.
Select the Modify User Password button. The database user associated with the
schema appears in the DB Username field. (This is a read-only field.)
5.
R - 56
DB Access Commands
6.
Select the Modify OS User & Password button. The operating system user
associated with the schema appears in the OS Username field. Key in a new
username.
7.
8.
Select the Run button. You must select the Run button after each action to alter the
schema.
OR
Select the Close button exit the dialog without altering the schema.
DB Access Commands R - 57
Operating Sequence
1.
Select the Modify DB2 Password button from the Schema Definition form.
Select a schema from the RIS Schema Manager dialog or key in a schema name to
display information about a schema, if the schema you want is not already the active
schema.
3.
Key in the original password and the new password. The Alternate LU62 Mode field
appears if this information is required. Key in the LU6.2 mode value if the field
displays.
4.
Select the Run button to alter the schema. This action changes both the MVS system
password and the schema password. You must select the Run button after each action
to alter the schema.
OR
Select the Close button to exit the dialog without altering the schema.
R - 58
DB Access Commands
Data Definition
The Data Definition dialog displays information about the tables, views, and indexes
defined for the specified schema.
The Data Definition function can perform six data definition actions. It can:
1.
2.
Create tables
3.
Drop tables
4.
Alter tables
5.
Include tables
6.
Exclude tables
When one of these actions is selected, a subform associated with that action displays.
If the selected schema requires a password, or a database username/password
and operating system username/password, the information must be keyed in
before the subforms can accept input.
Operating Sequence
1.
Select the Data Definition button from the RIS Schema Manager dialog. The Data
Definition dialog is displayed.
2.
Select a schema from the RIS Schema Manager form or key in a schema name, if the
schema you want is not already the active schema.
DB Access Commands R - 59
3.
4.
R - 60
DB Access Commands
Table Information
The Table Information dialog displays the definition of the specified table. The column
fields display information such as the column position, column name, column type, and
whether or not nulls are permitted in the column for each column in the table. Also, a field is
provided to search for specific columns.
This dialog only displays information; it is not editable.
Operating Sequence
1.
Select the Table Information button from the Data Definition dialog. The Table
Information form is displayed.
2.
Select a table by keying in the table name in the Table Name field or by selecting the
table from the list on the Data Definition dialog.
3.
DB Access Commands R - 61
Operating Sequence
1.
Select the Create Table button from the Data Definition dialog. The Create Table
dialog is displayed.
The Mode Control buttons are used to execute and reset the different modes of the
dialog. The Create Table form operates in three modes that are represented by three
buttons:
Insert Column New columns can be added to the table definition. If a column is
selected in the table definition list, the new column is inserted in front of the
selected column. Otherwise the new column is appended to the list. Select the
Mode Run button to insert the column.
Drop Column Columns can be dropped from the table definition. The column to
be dropped must be specified by keying in the column name in the Column Name
Search field, or by selecting the column in the table definition list. Select the Mode
Run button to drop the column.
Modify Column Column definitions can be modified. The column to be modified
must be specified by keying in the column name in the Column Name Search field,
or by selecting the column in the table definition list. Select the Mode Run button
to modify the column.
R - 62
DB Access Commands
2.
Select a table by keying in the table name in the Table Name field.
3.
Select the Run button to execute the dialog and create the table.
OR
Select the Restore button to clear the dialog.
OR
Select the Close button to exit the dialog without creating the table.
DB Access Commands R - 63
Drop Table
This dialog is used to drop tables in the schema specified on the Data Definition dialog.
Operating Sequence
1.
Select the Drop Table button from the Data Definition dialog.
Specify the table to be dropped by keying in the table name in the Table Name field or
by selecting the table from the list on the Data Definition dialog.
3.
OR
Select the Close button to exit the dialog without dropping the table.
R - 64
DB Access Commands
Alter Table
The Alter Table dialog is used to alter existing tables in the schema specified on the Data
Definition dialog. This form behaves like the RIS alter table command. It can only
append one new column at a time to an existing table.
Operating Sequence
1.
Select the Alter Table dialog from the Data Definition form. The Alter Table dialog
is displayed.
2.
Define the new column by entering the information in the fields of the Column
Definition to Append to Table area.
3.
Select the Run button to execute the dialog and alter the table. Repeat Step 1 to define
another new column.
OR
Select the Restore button to clear the dialog.
OR
Select the Close button to exit the dialog.
DB Access Commands R - 65
Include
This dialog lets you include tables and views from the in-memory data dictionary.
Operating Sequence
1.
Select the Include button from the Data Definition dialog. The Include dialog is
displayed.
2.
Key in, or select from the list, the names you want to include.
3.
4.
Select the Run button. You must select the Run button after each action to alter the
schema.
OR
Select the Restore button to clear all the fields on the dialog.
OR
Select the Close button to exit the dialog without altering the schema.
R - 66
DB Access Commands
Exclude
This dialog lets you exclude tables and views from the in-memory data dictionary.
Operating Sequence
1.
Select the Exclude button from the Data Definition dialog. The Exclude dialog is
displayed.
2.
Key in, or select from the list, the names you want to exclude.
3.
4.
Select the Run button. You must select the Run button after each action to alter the
schema.
OR
Select the Restore button to clear all the fields on the dialog.
OR
Select the Close button to exit the dialog without altering the schema.
DB Access Commands R - 67
Schema File
This dialog lets you review and manipulate schema files.
By default, RIS maintains the schema file /usr/ip32/risschemas, which tracks the schemas
known to RIS.
Operating Sequence
1.
Select the Schema File button from the RIS Schema Manager dialog. The Schema
File dialog is displayed.
2.
Select one of the control buttons on the right side of the form. If you select the Locate
Schema File button, all the fields become active, letting you key in the appropriate
values.
Show Schema File Location Produces read-only information on the specified
schema file.
Locate Schema File Lets you rename your schema file or specify a different
protocol.
Checksum Schema File Recomputes the checksum for the specified schema file.
Checksum is a mechanism used to verify that the schema file has not
been corrupted. If you manually edit the file (instead of making
changes through the RIS Schema Manager), checksum is no longer
accurate.
3.
Key in the appropriate values on the dialog when the Locate Schema File button is
selected. The following list explains the different parts of the Schema File dialog.
Local, XNS, TCP, Decnet This checklist lets you select a protocol for your
schema file.
Schema File Name Specifies the name of a schema file. The full pathname for
the schema file must be specified unless the RIS HOME directory (the default
directory) is intended.
R - 68
DB Access Commands
OR
Select the Cancel button to exit the dialog without changing the schema.
DB Access Commands R - 69
Locate Client
The Locate Client dialog is used to review and specify the location of a RIS client process.
Operating Sequence
1.
Select the Locate Client button from the RIS Schema Manager dialog. The Locate
Client dialog is displayed.
2.
3.
4.
5.
6.
Select the Show Client Location button to show the current location of the RIS Client
process.
7.
Select the Locate Client button to specify a new location for the RIS Client process.
8.
R - 70
DB Access Commands
Set
The Set dialog sets the ANSI mode on or off, Autorename on or off, and enables different
databases.
Operating Sequence
1.
Select the Set button from the RIS Schema Manager dialog. The Set dialog is
displayed.
Select the Set Mode ANSI button and set the Mode ANSI toggle to ON or OFF.
If you set the Mode ANSI toggle to ON, schema, table, column, view, and index
names are limited to 18 characters. Use this mode only when creating names (for
tables, columns, and so forth) that should be ANSI compliant (18 characters, or
fewer.)
If you set the Mode ANSI toggle to OFF, Names can be up to 31 characters long,
based upon the underlying RDBMS. Remember, though, that these names may not
be portable.
3.
If you Set Autorename on, schema, table, column, view, and index names are longer
than the particular database limitation. RIS will automatically do renaming.
4.
Select the Set Database Enable button to specify RDBMSs that can be used. Use this
function when you want to create table or column names that conflict with the
keywords of other databases.
DB Access Commands R - 71
5.
R - 72
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Rotate command places a Rotate button, which moves the raster image in the window
area in a counter-clockwise direction.
Dialog Options
When you select Rotate, the Rotate dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands R - 73
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
R - 74
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Rotate Raster command moves the raster image in the window area in a counterclockwise direction.
DB Access Commands S - 1
__________________________________________________________________________________________________________________________________________________
Select the Save Dialog (Dialog Builder) command to save the current dialog to a template
library. If a dialog with the same name exists in the library, you must confirm that you want
to replace the previous version.
The Save command is also available from the Toolbar.
Dialog Options
When you select a Save function, the DBA Save Template dialog appears.
Library This field displays the name of the current template library. You can select
the field and key in the name of a different template library. You can create a new
template library by keying in a template library name that does not exist (full or
relative filename). You are asked to confirm that you want to create a new library.
Name This field displays the name of the current template (if one exists). Select the
field and key in a new name.
Description This field lets you enter a description of the template.
S-2
DB Access Commands
Operating Sequence
1.
2.
Accept the default values or edit the fields as necessary. Select OK to save the
template.
The template is written to the specified library. If a template with the same name
already exists in the library, you are asked to confirm that you want to replace the old
template with the new one.
a.
Select Yes to replace the existing template with the new one.
b.
OR
Select Cancel to dismiss the dialog without saving the template.
DB Access Commands S - 3
Save Options
__________________________________________________________________________________________________________________________________________________
Use the Save button on the Design Options dialog to save commonly used parameters to
an optional template.
Dialog Options
When you select a Save function, the DBA Save Template dialog appears.
Library This field displays the name of the current template library. You can select
the field and key in the name of a different template library. You can create a new
template library by keying in a template library name that does not exist (full or
relative filename). You are asked to confirm that you want to create a new library.
Name This field displays the name of the current template (if one exists). Select the
field and key in a new name.
Description This field lets you enter a description of the template.
Operating Sequence
1.
2.
Accept the default values or edit the fields as necessary. Select OK to save the
template.
The template is written to the specified library. If a template with the same name
already exists in the library, you are asked to confirm that you want to replace the old
template with the new one.
a.
Select Yes to replace the existing template with the new one.
S-4
DB Access Commands
b.
OR
Select Cancel to dismiss the dialog without saving the template.
DB Access Commands S - 5
Save Report
__________________________________________________________________________________________________________________________________________________
The Save Report command saves the current report to a template library. If a template
with the same name exists in the library, you must confirm that you want to replace the
previous version.
In most cases, errors received while saving a report template are only warnings.
Usually, the report template is written successfully.
Dialog Options
When you select a Save function, the DBA Save Template dialog appears.
Library This field displays the name of the current template library. You can select
the field and key in the name of a different template library. You can create a new
template library by keying in a template library name that does not exist (full or
relative filename). You are asked to confirm that you want to create a new library.
Name This field displays the name of the current template (if one exists). Select the
field and key in a new name.
Description This field lets you enter a description of the template.
S-6
DB Access Commands
Operating Sequence
1.
2.
Accept the default values or edit the fields as necessary. Select OK to save the
template.
The template is written to the specified library. If a template with the same name
already exists in the library, you are asked to confirm that you want to replace the old
template with the new one.
a.
Select Yes to replace the existing template with the new one.
b.
OR
Select Cancel to dismiss the dialog without saving the template.
DB Access Commands S - 7
__________________________________________________________________________________________________________________________________________________
The Schema Select command places a Schema field that lets a user select a new current
schema.
Dialog Options
When you select Schema Select, the Schema Select dialog appears.
Simple This radio button makes a Simple combo box. The list is always displayed,
and text can be entered in the field.
S-8
DB Access Commands
Dropdown This radio button makes a Dropdown combo box. The list is displayed
whenever the arrow is chosen, and ANY text can be entered in the field without being
in the list.
Dropdown List This radio button makes a ADropdown List combo box. The list
is displayed whenever the arrow is chosen, and text can NOT be entered in the field
(that is, only selections from the list can be used).
Use the Predefined list values field of the List option to provide a schema
list. This lets a database dialog or single-table report run on several selected
schemas without setting DBA_SCHEMA_LIST.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands S - 9
__________________________________________________________________________________________________________________________________________________
The Scrollbar command places a scroll bar. You can use scripts to set or read the value of
the scroll bar. The values can be set through the FIg_set_value script function, or by a data
link from another gadget.
Dialog Options
When you select Scrollbar, the Scrollbar dialog appears.
The following list describes the options on the dialog except for the Text Font, and
Location options. See the section Place Gadget (Dialog Builder) for a description of these
options.
High Value This field specifies the maximum value of the scroll slider (that is, when
it is positioned at the far right for a horizontal scroll bar or the top for a vertical scroll
bar).
Low Value This field specifies the minimum value of the scroll slider (that is, when
it is positioned at the far left for a horizontal scroll bar or the bottom for a vertical scroll
bar).
Viewable Portion This field specifies the percentage of the scroll area filled by the
slider. It also controls the increment by which the display changes when the top or
bottom scroll arrows are selected (that is the size of a page). Key in a value between 1
and 100.
S - 10
DB Access Commands
Vertical Scroll Bar/Horizontal Scroll Bar This toggle specifies whether the scroll
bar moves the field display from top to bottom or from left to right.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands S - 11
__________________________________________________________________________________________________________________________________________________
The Select Redlines command places a Select Redlines button, which selects the redlines
on the drawing by the user.
Dialog Options
When you select Select Redlines, the Select Redlines dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
S - 12
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands S - 13
__________________________________________________________________________________________________________________________________________________
The Set Query command places a Set Query button, which lets you initialize the query
criteria, load a saved query template, and process the query criteria in one step.
You associate a saved query template with a Set Query button. When a user selects the Set
Query button, the query criteria is initialized, and the specified template is loaded from the
template library and processed to generate a universe of rows.
Dialog Options
When you select Set Query, the Set Query dialog appears.
S - 14
DB Access Commands
The following list describes the options on the dialog except for the Place Text/Place
Symbol, Text Font, and Location options. See the section Place Gadget (Dialog Builder)
for a description of these options.
Template This field lets you specify the name of the query template to associate
with the function button. You can key in a template name or use the list indicator to
select from the query templates in the current template library.
At runtime, the users current template library (set with the DBA_LIB
environment variable) should contain a query template with the name
specified in the Template field.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands S - 15
__________________________________________________________________________________________________________________________________________________
The Show Group command lets you highlight all gadgets in a given group.
S - 16
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Show Links command places a Show Links button, which displays linkages in the
specified window.
Dialog Options
When you select Show Links, the Show Links dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands S - 17
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
S - 18
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Show Links command displays linkages in the specified window. When you select
Show Links and a window, any databases, notes, or file linkages display.
DB Access Commands S - 19
__________________________________________________________________________________________________________________________________________________
The Single Column command lets you place a single column field on the current dialog.
The dialog can be a Database dialog (that is, associated with a specific schema and table) or
it can be a No Database dialog.
DB Access stores the column name/number associated with the column field. When you
select the Process Query button on the dialog, the single column field displays values for
the specified column from the universe of rows generated by the Process Query.
Database Dialog
You can place a single column field for a specified table and column on a Database dialog. If
you place a single column field for a coded column, the field is placed with a list indicator,
which lets you select values from the columns associated code list. Coded single column
fields can also present a subset of the code list by supplying values in the predefined list
values field. You can also have list indicators for non-coded single column fields. For either
coded or noncoded single column fields, restrict the users choices to the list by setting the
Verify against list toggle on the Default/Verify dialog.
Use single column fields to link information from two or more tables by way of join columns.
For example, in the sample database, the tables parts and sale both contain the column
part_num. You can design a dialog that accesses information in both tables based on the
common column value (part_num). See the section Join Columns.
S - 20
DB Access Commands
No Database Dialog
Single column fields on No Database dialogs are associated with the current table at
runtime. If no current table is specified or if the current table has no corresponding column,
no information displays in the field.
Dialog Options
When you select Single Column, the Single Column dialog appears.
The following list describes the options on the dialog except for the Text Font, and
Location options. See the section Place Gadget (Dialog Builder) for a description of these
options.
Length This field specifies the character length of the column field.
Decimal Places This field specifies the number of decimal places for a numeric
column.
Codelist Rows This field lets you specify how many entries from the code list
appear at one time. Scroll through the list to see additional entries. This field is
inactive until a coded column is specified in the Column field.
Minimum Value This field lets you specify a minimum value that you can enter
successfully for the column field. This field is active only for numeric columns.
Maximum Value This field lets you specify a maximum value that the user can
enter successfully for the column field. This field is active only for numeric columns.
Field Options This subdialog lets you call other dialogs to set further parameters.
Select from Editing, Scrolling, List, and Default/Verify. The respective dialogs are
described in the section Place Gadget (Dialog Builder).
DB Access Commands S - 21
By using the Default/Verify option Default field values, you can override the
default value for the single column field provided by mscolumns. By using the
Default/Verify option Format string, you can override the original format
string for a numeric single column field provided by mscolumns.
You can wrap long single column fields in a multiple line display. The lines are
concatenated before database processing. DB Access allows notification on
wrapped fields without carriage return. This supports the Editing option
Notify at end.
Operating Sequence
1.
2.
At the Column field, enter the name of a column from the current table using key-in or
the list indicator. Go to Step 5.
OR
At the Schema and/or Table field, enter a new schema and/or table using key-in or the
list indicator.
The DBA Join Columns dialog appears.
3.
At the Column field for the primary table, enter the name of the join column using
key-in or the list indicator. Repeat for the secondary table.
Then
Specify whether the join is an outer join. Select OK to return to the Single Column
dialog.
The DBA Join Columns dialog disappears. The Join Columns button on the Single
Column dialog is active.
4.
At the Column field on the Single Column dialog, use a key-in or the list indicator to
enter the name of the column from the secondary table that you want to place.
S - 22
5.
DB Access Commands
DB Access Commands S - 23
__________________________________________________________________________________________________________________________________________________
The Single Report command places a Report button, which is linked to a report template
in the current template library. When you select Report, the report template is processed
and the report output is written to the screen. You can specify a saved query criteria
template to generate the input universe of rows for the report; otherwise, the current
universe of rows is used.
The current template library at runtime must contain the specified report
template (and optional query criteria template). You can specify the correct
template library for the user by defining and exporting the DBA_LIB variable
in the users .profile file. See the section DM/DB Access Environment
Variables.
S - 24
DB Access Commands
Dialog Options
When you select Single Report, the Single Report dialog appears.
Report Template This field lets you associate a report template with the Report
button. You can key in a template name or use the list indicator to select a template.
Current Query/Saved Query This toggle lets you specify whether to use the
current query criteria or a saved query criteria template to generate the input universe
of rows for the report. The query criteria template must exist in the same template
library as the report template.
Display Output/No Display This toggle lets you specify whether the report output
is displayed to the screen after processing. The report output is also written to the
default output file.
Query Template This field lets you specify a query criteria template to generate the
input universe of rows for the report. You can key in a template name or use the list
indicator to select a template. This field is active only when Saved Query is toggled
on.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands S - 25
__________________________________________________________________________________________________________________________________________________
The Slider command places a slider with a range of values to be used with a particular
command. The values can be through the FIg_set_value script function, or by a data line
from another gadget.
Dialog Options
When you select Slider, the Slider dialog appears.
The following list describes the options on the dialog except for the Text Font, and
Location options. See the section Place Gadget (Dialog Builder) for a description of these
options.
Values This set of boxes lets you define the high, initial, and low values appearing
on the slider.
Display This set of boxes lets you control the display of the high, current, and low
slider values. A check mark signals to display the value.
Vertical This toggle lets you determine the orientation of the slider. It can be either
vertical or horizontal.
S - 26
DB Access Commands
Minimum to Maximum This toggle lets you determine which value appears first.
Minimum to Maximum The low value appears at the bottom if the slider is
vertical and on the left if the slider is horizontal.
Maximum to Minimum The low value appears at the top if the slider is vertical
and on the right if the slider is horizontal.
Increment This field lets you set the increments the slider moves by.
Length This field lets you specify the number of characters on the slider button.
Decimal This field lets you set the number of decimal places displayed for the slider
values.
DB Access Commands S - 27
__________________________________________________________________________________________________________________________________________________
The Spin Box command places a spin box on the current dialog, for cycling through a range
of values.
Dialog Options
When you select Spin Box, the Spin Box dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
S - 28
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The SQL Statement command places an SQL Statement gadget on the current dialog.
When selected, the gadget will process the SQL statement associated with the gadget.
Dialog Options
When you select SQL Statement, the SQL Statement dialog appears.
The following list describes the options on the dialog except for the Place Text/Place
Symbol, Text Font, and Location options. See the section Place Gadget (Dialog Builder)
for a description of these options.
DB Access Commands S - 29
Template This field lets you specify the name of the SQL template to associate with
the button. Key in the template name or select from the associated list.
The current template library at runtime must contain the specified SQL
template. You can specify the correct template library for the user by
defining and exporting the DBA_LIB variable in the users .profile file.
See the section DM/DB Access Environment Variables.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
S - 30
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Symbol command lets you place symbols or bitmaps on the current dialog. DB Access
can display symbols from Clipper sym files, or .bmp (bitmap) files that have been saved in the
template library with the Bitmap Loader.
You can create symbols with the Symbol Editor, a baseline product delivered
with all Intergraph systems. See the Symbol Editor Users Guide for
information on using the Symbol Editor.
Dialog Options
When you select Symbol, the Symbol dialog appears.
The following list describes the options on the dialog except for the Location options. See
the section Place Gadget (Dialog Builder) for descriptions of these options.
Symbol File This field displays the name of the symbol file. By default, dbasym is
specified. To specify a different symbol file, clear the field and key in a new file name.
If this file is not in the c:\win32app\ingr\dba\support directory, you
must define DBA_SUPPORT to include the directory path of the file. See
the section DM/DB Access Environment Variables.
Symbol ID This field displays the number of the symbol file to be loaded.
Bitmap Allows placement of a Bitmap template. For more information see Bitmap
Loader.
DB Access Commands S - 31
Symbols This field displays the DBA Symbol Selection dialog. You can select a
symbol from this dialog to place on a dialog. These symbols are used in the DB Access
product.
When you select Symbols, the Symbol Selection dialog appears.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
S - 32
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The System Command command places a System Command button, which you can
associate with a system command. When a user selects the button, the command is
executed. DB Access will not wait until the system command completes if the global variable
dba_system_no_wait is true. The dba_system_window determines whether a window will be
displayed. See c:\win32app\ingr\doc\globals.txt for a description of these variables.
Dialog Options
When you select System Command, the System Command dialog appears.
The following list describes the options on the dialog except for the Place Text/Place
Symbol, Text Font, and Location options. See the section Place Gadget (Dialog Builder)
for a description of these options.
DB Access Commands S - 33
Command This field lets you specify the system command to associate with the
button.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
S - 34
DB Access Commands
DB Access Commands T - 1
__________________________________________________________________________________________________________________________________________________
The Table Select command places a Table field that lets a user select a new current table.
Dialog Options
When you select Table Select, the Table Select dialog appears.
The following list describes the options on the dialog except for the Text Font, and
Location options. See the section Place Gadget (Dialog Builder) for a description of these
options.
T-2
DB Access Commands
List Rows This field lets you specify how many tables will display at one time in the
associated list field for the Table field. For example, if the current schema contains
five tables, a value of 3 would cause three tables to appear in the list field. The scroll
bar provides access to the remaining tables.
Simple This radio button makes a Simple combo box. The list is always displayed,
and text can be entered in the field.
Dropdown This radio button makes a Dropdown combo box. The list is displayed
whenever the arrow is chosen, and ANY text can be entered in the field without being
in the list.
Dropdown List This radio button makes a Dropdown List combo box. The list is
displayed whenever the arrow is chosen, and text can NOT be entered in the field (that
is, only selections from the list can be used.)
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands T - 3
__________________________________________________________________________________________________________________________________________________
The Text command lets you place text strings on the current dialog. You can select text font
from the common dialog. Placing text lets you name dialogs and label areas on those dialogs.
Dialog Options
When you select Text, the Text dialog appears.
The following list describes the options on the dialog except for the Location, and Text
Font options. See the section Place Gadget (Dialog Builder) for descriptions of these options.
Text String This field specifies the text string to be placed. You can key in several
lines of text.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
T-4
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Text Box command places text box on the current dialog, for text entry/display.
Dialog Options
When you select Text Box, the Text Box dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands T - 5
__________________________________________________________________________________________________________________________________________________
The Text (Report Builder) command places a field that prints a literal text string you
assign. Text fields are used to print text that remains the same in a report: titles, column
headers, and so on. Text fields are commonly placed on preface, top, bottom, and final lines.
Menu Options
When you select Text (Report Builder), the DBA Text Field dialog appears.
The following list describes the options on the menu except for the Print Condition field,
which is described in the section Place Field.
Text This field lets you specify the text string to print.
T-6
DB Access Commands
Operating Sequence
Place this field using the standard Place Field operating sequence. See the section Place
Field for a description of this sequence.
DB Access Commands T - 7
Text Size
__________________________________________________________________________________________________________________________________________________
The Text Size command lets you change the size of the text display on a report template or a
report output dialog. Make the text smaller to see more fields at the same time. Make the
text larger to make the display easier to read.
The text size setting can be saved as part of a design options template, using the Save
Options command.
Dialog Options
When you select Text Size, the Text Size dialog appears.
Use the slider to set the text size. Text sizes range from 1 to 5. You may set the
environment variable DBA_TEXT_SIZE to globally define the text size. Example: set
DBA_TEXT_SIZE=1
T-8
DB Access Commands
Time
__________________________________________________________________________________________________________________________________________________
The Time command places a field that prints the system time in a format that you choose.
You usually place time fields on a top or preface line.
Dialog Options
When you select Time, the Time Field dialog appears.
The following list describes the options on the menu except for the Print Condition field,
which is described in the section Place Field.
Time Formats This checklist lets you select the print format for the time field.
Operating Sequence
Place this field using the standard Place Field operating sequence. See the section Place
Field for a description of this sequence.
DB Access Commands U - 1
__________________________________________________________________________________________________________________________________________________
The Undelete Fence (Dialog Builder) command restores the last fenced area deleted with
the Fence Delete (Dialog Builder) command.
Operating Sequence
Select Select Edit from the Toolbar menu. Select Fence and then Undelete from the
pulldown menus.
The last deleted fenced area is restored in its original location.
U-2
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Undelete Field (Report Builder) command restores the last field deleted with the
Delete Field command.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Field and then Undelete from the
pulldown menus.
The prompt Select placement point appears.
The field is dynamically attached to the cursor. As you move the cursor over the report
template, information in the message area changes to reflect the current line, column,
table, and field.
DB Access uses F-1, F-2, and so on to represent the first, second, and any
subsequent fields on a line.
2.
3.
DB Access Commands U - 3
__________________________________________________________________________________________________________________________________________________
The Undelete Gadget (Dialog Builder) command restores the last gadget deleted with the
Delete Gadget (Dialog Builder) command.
Operating Sequence
Select Edit from the Toolbar menu. Select Gadget and then Undelete from the pulldown
menus.
The last deleted gadget is restored in its original location.
U-4
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Undelete Group (Dialog Builder) command restores the last gadget group deleted
with the Group Delete (Dialog Builder) command.
Operating Sequence
Select Edit from the Toolbar menu. Select Group and then Undelete from the pulldown
menus.
The last deleted gadget group is restored in its original location.
DB Access Commands U - 5
__________________________________________________________________________________________________________________________________________________
The Undelete Line (Report Builder) command restores the last line deleted with the
Delete Line command.
Operating Sequence
1.
Select Edit from the Toolbar menu. Select Line and then Undelete from the
pulldown menus.
The prompt Select placement point appears.
The line is dynamically attached to the cursor. As you move the cursor over the report
template, information in the message area changes to reflect the current line, column,
table, and field.
2.
3.
U-6
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Update View command places an Update View button, which refreshes the specified
raster window.
Dialog Options
When you select Update View, the Update View dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands U - 7
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
U-8
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Update command refreshes the selected window. To use the command, select Update
and then a window.
DB Access Commands U - 9
__________________________________________________________________________________________________________________________________________________
The Update Active command places the dialog in update active mode. You can change
currently displayed column values without changing the corresponding values for the current
row. Select Insert Row to insert the displayed data as a row in the database. For more
information, see the section Insert Row (Database Edit).
Operating Sequence
The following sequence demonstrates how Update Active can be used with Insert Row to
create a new row.
1.
2.
3.
Continue to select column fields and key in new values until all changes have been
made.
4.
Select Insert Row to insert the displayed data as a new row in the database.
U - 10
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Update Active command places an Update Active button, which lets a user establish
column values for a row before inserting it in the database.
The Update Active function overrides the default key-in mode for the column field(s). The
user can enter data without changing the displayed row in the database (change row), adding
query criteria (add query), or performing a key column search (key column). When the data
is correct, the user can select Insert Row to insert the displayed data as a row in the
database.
DB Access Commands U - 11
Dialog Options
When you select Update Active, the Update Active dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
U - 12
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Update Row command places the dialog in update row mode. You can change
currently displayed column values without changing the corresponding values for the current
row. You can then select Insert Row to insert the displayed data as a row in the database.
For more information, see the section Insert Row (Database Edit).
Operating Sequence
The following sequence demonstrates how Update Row can be used with Insert Row to
create a new row.
1.
2.
3.
Continue to select column fields and key in new values until all changes have been
made.
4.
Select Insert Row to insert the displayed data as a new row in the database.
DB Access Commands U - 13
__________________________________________________________________________________________________________________________________________________
The Update Row command places an Update Row button, which updates the current row
based on the currently displayed column values.
Dialog Options
When you select Update Row, the Update Row dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
U - 14
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands U - 15
__________________________________________________________________________________________________________________________________________________
The Undo Redlines command places a Undo Redlines button, which undo the redlines on
the drawing by the user that were previous attached.
Dialog Options
When you select Undo Redlines, the Undo Redlines dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
U - 16
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands U - 17
__________________________________________________________________________________________________________________________________________________
The User Gadgets are available from the DB Access Dialog Builder Toolbox. These gadgets
have no builtin function. You can use script to read or write their values, or assign them a
builtin function from the Common Dialog.
Text Box This command places a Text Box button on the current dialog, for
text entry/display.
Multi-Column Field This command places a Multi-Column Field button on
the current dialog, for multi-column text entry/selection/display.
List Box This command places a List Box button on the current dialog, for
text selection.
Grid This command places a Grid on the current dialog, for multi-column text
selection.
Combo Box This command places a Combo Box on the current dialog.
Field Plus This command places a Field Plus on the current dialog. A Field
Plus gadget is a custom control that offers full I/Forms functionality.
U - 18
DB Access Commands
DB Access Commands U - 19
__________________________________________________________________________________________________________________________________________________
The User Variable (Report Builder) command lets you create variables for use in scripts,
user action statements, and derived fields. You can create variables to store three types of
data: character, integer, and floating point.
Arrays
You can create single- and multi-dimension arrays. Single-dimension arrays are
automatically resized if an element outside the arrays current size is referenced. Multidimension arrays are not automatically resized.
For example, an integer variable num with an x array value of 10 is referenced by num[0]
through num[9]. If num is referenced by an x subscript greater than the initial size, the
variable is extended and processing continues.
Character Variables
Character user variables are designed to store text strings. For a single text string, the x
size determines the length of the string, and the y size is set to 1. For an array of text
strings, the x size determines the number of text strings allocated, and the y size determines
the length of each.
U - 20
DB Access Commands
Dialog Options
When you select User Variable, the DBA User Variable dialog appears.
Name, Type, X, Y This select-only field lists the name, variable type, x size, and y
size of the user variables defined for the current report template.
Select a line to make it a marker (highlighted) line. The dialog cannot be in delete or
edit mode. (That is, the Delete and Edit buttons are not depressed.) New variables
can be added and the delete buffer inserted before a marker line.
Add This button adds a variable to the user variable list. Select Add after you enter
information in the Name, X Size, and Y Size fields and select a variable type at the
bottom of the dialog. The new variable is inserted before the marker line in the user
variable list. If no marker line exists, the new variable is inserted at the bottom of the
list.
Edit This button places the dialog in edit mode. Select Edit and then select a
variable from the user variable list. The values for the variable appear in the area at
the bottom of the dialog. You can edit these values.
Delete This button puts the dialog in delete mode; any line you select is deleted and
stored in a delete buffer. The delete buffer stores deleted lines until you exit delete
mode. Select Delete again to exit delete mode. The delete buffer is cleared whenever
you enter delete mode.
Undelete This button inserts the current delete buffer before the marker line in the
user variable list. If no marker line exists, the delete buffer is inserted at the bottom of
the list.
Name This key-in field lets you specify the name of a new variable or edit the name
of an existing one.
DB Access Commands U - 21
Variable Type This checklist lets you select a data type for the variable.
X Size This key-in field lets you specify the x size of the variable.
Y Size This key-in field lets you specify the y size of the variable.
U - 22
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The USTN Command places a MicroStation Key-in button, which lets you associate a
MicroStation key-in command with the button you place. When the button is selected,
MicroStation receives and executes the associated command.
Dialog Options
When you select USTN Command, the MicroStation Key-in dialog appears.
The following list describes the options on the dialog except for the Place Text/Place
Symbol, Text Font, and Location options. See the section Place Gadget (Dialog Builder)
for a description of these options.
Command This field specifies the MicroStation key-in command associated with
the button.
DB Access Commands U - 23
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
U - 24
DB Access Commands
DB Access Commands W - 1
__________________________________________________________________________________________________________________________________________________
The Window Area command places a Window Area button, which displays the area
specified by two points of a raster image.
Dialog Options
When you select Window Area, the Window Area dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
W-2
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands W - 3
__________________________________________________________________________________________________________________________________________________
The Window Area command displays a specified area of a raster file. When you select
Window Area and place two points in a window, the area defined by those points is
displayed.
W-4
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Window Center command places a Window Center button, which brings the selected
points in a rater image to the center of the window.
Dialog Options
When you select Window Center, the Window Center dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands W - 5
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
W-6
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Window Center command, which bring the selected point in a raster image to the
center.
DB Access Commands W - 7
__________________________________________________________________________________________________________________________________________________
The Window Scroll command places a Window Scroll button, which moves a raster image
from one specified point to another.
Dialog Options
When you select Window Scroll, the Window Scroll dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
W-8
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands W - 9
__________________________________________________________________________________________________________________________________________________
The Window Scroll command moves the window area from one specified point to another.
When you select Window Scroll and place two points in a window, the first point is moved
to the location of the second point.
W - 10
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Worksheet command lets you place a gadget containing multiple column fields on a
dialog. The dialog can be a Database dialog (that is, associated with a specific schema and
table) or it can be a No Database dialog. Unlike a standard multiple column field, a
worksheet can display more than one row at a time.
When a user selects the Process Query button on the dialog, the worksheet displays values
for the specified columns from the universe of rows generated by the Process Query.
Database Dialog
Worksheets on Database dialogs are associated with a specified table or with joined tables.
You can use worksheets to link information from two or more tables by way of join columns.
For example, in the sample database, the tables parts and sale both contain the column
part_num. You can design a dialog that accesses information in both tables based on the
common column value (part_num). See the section Join Columns.
No Database Dialog
Worksheets on No Database dialogs are associated with the current table at runtime. If no
current table is specified, no information will display in the worksheet.
DB Access Commands W - 11
Dialog Options
When you select Worksheet, the Worksheet dialog appears.
The following Multi Column Field (MCF) commands are enabled for the worksheet:
Visible rows This field specifies the number of rows displayed simultaneously in the
field.
Visible columns This field specifies the number of columns displayed
simultaneously in the field.
Header label This field specifies an additional MCF. This MCF functions as a
header and horizontally scrolls in parallel with the original MCF.
Column width These radio buttons determine how individual columns are sized for
worksheets. They are disabled if the MCF has no database hook.
Vertical scroll This check box lets the MCF scroll vertically.
Display vertical scrollbar This check box displays the vertical scrollbar. Without
it, the MCF can be scrolled with the arrow keys.
Vertical scroll notify This check box causes scripts on the MCF to be processed
when vertically scrolled.
Column scrolling This check box enables column scrolling so that invisible columns
can be displayed.
W - 12
DB Access Commands
Row select buttons This check box determines whether or not row select buttons
are available on the MCF. Row select buttons notify DB Access of the row number
selected.
Entire row selection This check box lets you specify how a tap on a particular cell
is interpreted. Single cell selection means that a tap activates only that field, and
Entire row selection means that a tap on a cell activates all fields in the row.
CR Required This check box lets you set this mode which forces you to press a
Carriage Return before input to the MCF is processed.
Column info This field allows setting of attributes for individual columns of the
MCF.
Data type These radio buttons let you specify the type of data to be entered in the
field. Select ASCII, Integer, or Decimal.
Justification These radio buttons let you specify the justification of the data to be
entered in the field. Select Left, Center, or Right.
Operating Sequence
1.
2.
a.
b.
DB Access Commands W - 13
At the Column field for the primary table, enter the name of the join column
using key-in or the list indicator. Repeat for the secondary table.
Specify whether the join is an outer join. Select Exit and Save to return to
the Worksheet dialog.
The DBA Join Columns dialog disappears. The Join Columns button on the
Worksheet dialog is active. The Table field displays the name of the secondary
table.
You can now place worksheet(s) for the secondary table. You
must reselect the primary (original) table to place worksheet(s)
for it.
b.
c.
d.
3.
Select OK from the Worksheet dialog to place the worksheet. If you selected Keyin and
specified coordinates, the worksheet is automatically placed on the dialog. A worksheet
header is attached.
OR
If you selected Data Point, the worksheet is dynamically attached to the screen cursor.
The x,y coordinates appear in the message area so you can position the worksheet.
W - 14
DB Access Commands
DB Access Commands Z - 1
__________________________________________________________________________________________________________________________________________________
The Zoom In command places a Zoom In button, which displays half as much of the
specified raster image at twice the resolution.
Dialog Options
When you select Zoom In, the Zoom In dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
Z-2
DB Access Commands
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
DB Access Commands Z - 3
__________________________________________________________________________________________________________________________________________________
The Zoom In command displays half as much of the specified file at twice the resolution. To
use the command, select Zoom In and then place a point on the area to be magnified.
Z-4
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Zoom Out command places a Zoom Out button, which displays twice as much of the
specified raster image at half the resolution.
Dialog Options
When you select Zoom Out, the Zoom Out dialog appears.
The options on this dialog are standard Place Gadget options. See the section Place Gadget
(Dialog Builder) if you are not familiar with these options.
DB Access Commands Z - 5
Operating Sequence
Place this gadget using the standard Place Gadget operating sequence. See the section
Place Gadget (Dialog Builder) for a description of this sequence.
Z-6
DB Access Commands
__________________________________________________________________________________________________________________________________________________
The Zoom Out command displays twice as much of the specified file at half the resolution.
To use the command, select Zoom Out and the window.
Appendix A
__________________________________________________________________________________________________________________________________________________
Appendix A
__________________________________________________________________________________________________________________________________________________
DBA_BG_COLOR
DBA_BLANK_PAD
DBA_DEBUG
DBA_BUTTON_SCRIPT
DBA_CODE_SORT
DBA_CONVERT_INPUT
DBA_CONVERT_OUTPUT
DBA_DAP_FILE
DBA_DB_NUMBERS
DBA_DEBUG
DBA_ERROR_LOG
DBA_FG_COLOR
DBA_FORMS_COLORS
DBA_FORMS_MODE
DBA_HL_COLOR
DBA_INITIAL_SCRIPT
DBA_JOIN_TO_MANY
DBA_KEY_SCRIPT
DBA_LIB
DBA_LIB_LIST
DBA_LINK_MODE
DBA_LOG_MESSAGE
DBA_MCE_RESTRICT
DBA_MENU
DBA_MESSAGE_STRIP
DBA_MSLINK
DBA_NATIVE_MODE
DBA_NO_MSCATALOG
DBA_NORMAL_TEXT
DBA_NO_READ_LOCK
DBA_NO_SCALING
DBA_NO_STOP
DBA_OBJECT_LIB
DBA_OPTIMIZE
DBA_OPTIONS
DBA_PARTITION_BITS
DBA_PAUSE
DBA_PLAYBACK_FILE
DBA_PLOT_QUEUE
DBA_PRINT
DBA_RASTER
DBA_RASTER_PATH
DBA_RECORD_FILE
DBA_REPORT_MEMORY
DBA_REPORT_NULLS
DBA_SCHEMA
DBA_SCHEMA_LIST
DBA_SCRAP
DBA_SHELL
DBA_STORE_SCRIPT
DBA_SUPPORT
DBA_SYNC_MENUS
DBA_TABLE_ORDER
DBA_TEXT_SIZE
DBA_TIMESTAMP_FORMAT
DBA_TMP_OUTPUT
DBA_TOPMOST
DBA_USE_SERVER
DBA_WRITE_ACCESS
DBA_MCE_RESTRICT
DBA_NORMAL_TEXT
DBA_NO_SCALING
DBA_OPTIMIZE
For example:
set DBA_DB_NUMBERS=
The equal sign (=) is required. You can also specify a value, such as:
set DBA_DB_NUMBERS=YES
AA - 10
Appendix B
__________________________________________________________________________________________________________________________________________________
BB - 2
Appendix B
__________________________________________________________________________________________________________________________________________________
mscolumns
mscodelist
dba_links
dba_files
dba_points
B.2
B.3
B.4
mscolumns
BB - 4
B.1
B.2
DB Access requires unique row identification for the following Database Edit functions:
Change Row
Delete Row
Previous Row
Unique row identification is also required for DB Access to display the number of rows
generated by the Process Query command.
You can use any of three methods for unique row identification. Listed in order of
precedence, they are:
1.
2.
3.
B.2.1
mslink Column
The default method for identifying unique rows is to add an mslink column to each table.
This can be done through the Create/Alter Table dialog in the Schema Edit utility.
B.2.2
The second method of identifying unique rows is to define one or more key columns in the
mscatalog table. If the mscatalog table does not exist, you can create it using the Schema
Edit utility.
char(32) (required)
alias_name
char(32) (optional)
entitynum
integer (required)
screenform
reporttable
sqlreview
fencefilter
dastable
key_columns
char(50)(optional)
nextocc
integer (optional)
mslink
integer (optional)
The tablename column must be identical to any RIS-supported database table name to be
accessed by DB Access. The alias_name column specifies a different name for the table that
is not bound by SQL standard restrictions. The entitynum column determines table number,
and may be matched with DMRS entities in existing VAX templates.
The nextocc column provides a more efficient method of inserting rows with mslink columns.
It eliminates the need for DB Access to issue the statement
select max (mslink) from <table>
in assigning an mslink value to the row inserted. You can set nextocc to the next mslink
value available for insert, or let DB Access maintain the value.
Any RIS-supported database table (ristables, mscatalog, and so forth) can be added to or
removed from mscatalog.
From the DB Access main dialog, select mscatalog as the current table. Select
Database Edit.
2.
From the Database Edit dialog, create a universe of all tables with occurrences in
mscatalog.
BB - 6
3.
Make the table for which you want to define the key columns the current row.
4.
At the key_columns column, key in one or more column names, separated by spaces.
The message Row changed appears.
5.
Using the same process, define key columns for any other tables in mscatalog. When
you are finished, exit DB Access.
B.2.3
Unique Index
The third, and simplest, method for uniquely identifying rows in a non-graphic database is to
create a unique index for a given table. From the SQL Statements dialog in DB Access, use
the SQL create index statement:
create [unique] index <index> on <table> (<column> [, <column> ...])
To create a unique index called friendex on the name and nickname columns of the friends
table:
create unique index friendex on friends (name, nickname)
B.3
The mscodelist table has the following columns. All columns are required except mslink,
which makes it easier to edit the table with Database Edit. See the section Unique Row
Identification.
table_name
char(32)
column_name
char(32)
join_table
char(32)
code_column
char(32)
text_column
char(32)
index_column
char(32)
index_value
integer
mslink
integer
For a column to be considered coded, it must have a row entry in mscodelist where:
table_name is the column table name.
column_name is the column name.
join_table is the table name of the code list.
code_column is the name of an integer column in join_table.
text_column is the name of a character column in join_table.
If multiple code lists are to be stored in one table, index_column is the name of an integer
column in join_table that stores the index_value of each code list.
For example, the following mscodelist entries
table
name
_ ____
column
name
_ ____
join
table
_____
code
column
_______
text
column
_______
index
column
_______
index
value
_____
pipe
pipe
material
shape
material
codelists
code_number
code_number
code_text
code_text
index_num
would refer to two coded columns (material and shape) in the pipe table. The material
column has its own code list (the join table named material) with the following columns:
code_number
_____________
code_text
_________
1
2
3
CONCRETE
STEEL
PVC
The shape column uses a shared code list (the join table named codelists) with the following
columns:
code_number
_____________
code_text
_________
index_num
___________
1
2
3
1
2
3
CONCRETE
STEEL
PVC
CIRCULAR
RECTANGULAR
ELLIPTICAL
1
1
1
2
2
2
The shape column accepts values from rows in codelists where index_num is equal to 2.
BB - 8
B.4
mscolumns
The following are columns in the mscolumns table. Required columns are indicated.
entitynum
integer (required)
attrnum
integer (required)
column_name
char(32) (required)
alias_name
char(32)
column_format
char(10)
default_value
char(10)
mslink
integer
The entitynum column determines table number. The attrnum column determines column
number. The column_name column specifies the name of the column (determined in the
create table statement).
If you set DBA_DB_NUMBERS to YES, dialog and report templates store
column numbers instead of names. They can then be processed against
translated databases without change. For more information, see the section DB
Access Environment Variables.
The alias_name column specifies a different name for the column that is not bound by SQL
standard restrictions. The column_format column specifies a standard C format string (for
example, "%lG") used when column values are output to custom dialogs built with the DB
Access Administrator Toolkit. The default_value column specifies a string to be displayed
when there is no current row (for subsequent inserts).
Appendix C
__________________________________________________________________________________________________________________________________________________
Timestamp Columns
CC - 2
Appendix C
__________________________________________________________________________________________________________________________________________________
Timestamp Columns
Timestamp columns can be used to specify a date and time in a database row. They are
useful for indicating when data was entered or updated in a database.
By default, timestamp columns display in the following format:
yyyy-mm-dd:hh:nn:ss.
You can specify a timestamp format with the DBA_TIMESTAMP_FORMAT environment
variable. The global variable char *dba_timestamp_format can then be modified at any time
from script. You can also then input timestamp columns using the format specified by
DBA_TIMESTAMP_FORMAT. For more information, see the section DM/DB Access
Environment Variables.
Format Characters
Year
yyyy
yy
y
mm
m
month
mon
ddd
dd
d
day
dy
Month
Day
CC - 4
Hour
hh24
h24
hh12 or
hh
h12 or h
nn
n
ss
s
am or
pm
a.m. or
p.m.
text
default
Minute
Second
Other
Examples
These examples indicate possible formats and the resulting output given the following date
structure:
date.year = 1990
date.month = 12
date.day = 5
date.hour = 10
date.minute = 33
date.second = 32
format = <m/d/y>
buffer = <12/5/1990>
format = "mm/dd/yy"
buffer = "12/05/90"
format = "mm/dd/yyyy"
buffer = "12/05/1990"
format = "dy, mon d yyyy"
buffer = "wed, dec 5 1990"
CC - 6
Appendix D
__________________________________________________________________________________________________________________________________________________
DD - 2
Appendix D
__________________________________________________________________________________________________________________________________________________
Meaning
DD - 4
No COLUMN or NUMERIC
fields allowed on "ALL"
lines.
No current field.
No current line.
No current dialog.
No current report.
No current row.
No current schema.
DD - 6
No current table.
No current universe.
No MSCODELIST in
current schema.
No rows found.
RIS Error.
A schema list is necessary only for multischema joins. If no schema list is specified
(using DBA_SCHEMA_LIST or the -S
command-line option), any available RIS
schema can be attached.
Script template
\<template>\
doesnt match function
name
\<function>\.
Undefined symbol:
<symbol>
DD - 8
Appendix E
__________________________________________________________________________________________________________________________________________________
EE - 2
Appendix E
__________________________________________________________________________________________________________________________________________________
/* Argurment to ms_application_id(),
default = DBA */
/* Embedded Command characters,
default = , */
/* Redirects error form output to a named
file (or /dev/null) */
/* Contains last field key-in (1000
characters max) */
EE - 4
extern
extern
extern
extern
extern
extern
extern
extern
extern
extern
extern
/* 0=RIS, 1=DMRS.
RPT_NO. */
int dba_menu_lock;
/* 0=normal, 1=any subsequent menus
must be canceled before other inputs
are accepted or script processing
proceeds */
int dba_nest_mode;
/* 0=simple element, 2=cells.
Nest mode for rejecting complex
element headers from USTN;
determines what element types will
be selectable. RPT_NO. */
int dba_no_put_field_notify; /* Makes dba_put_field() act just
like FIfld_set_text() (instead of
simulating a user key-in) */
int dba_partition_bits;
/* RPT_NO. */
int dba_pause;
int dba_select_button;
/* Button for raster commands
0=left, 1=middle (default),
2=right */
int dba_status_field;
/* Status field number (used in
WINDOWS mod */
int dba_text_size;
/* Report output form text size (1-5) */
short dba_type_mask[8];
/* Element type mask for USTN Review
Element and Locate Graphics commands.
Default = { -1, -1, -3, -1, -1, -1,
-1, -1 }
(all types except 34) */
int dba_user_entitynum;
/* Optional user-defined value for
user links */
int dba_user_mslink;
/* System-generated value when attaching and
reviewing user linkages. */
int dba_user_raslink;
/* Optional user-defined value for
user links. */
EE - 6
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
extern
extern
extern
extern
/*
/*
int
int
int
int
dba_ris_link;
dba_select_distinct;
dba_scrap;
dba_sync_menus;
/* 0=No borders.
1=Borders.
(Environ V version only.) */
/* 0=Current.
2=Alternate.
(Environ V version only.) */
/* 0=On.
1=Off.
Used with dba_display_graphics and
dba_window_area. You can skip the
overview and go straight to a
window area. */
/* 0=Off.
1=On. If set
dba_delete_window(int file_id);
script will be called whenever a
window is deleted. */
/* 0=Off.
1=On. If this is on, the linkage
blocks are automatically displayed
on every refresh. */
/* 0=Permanent.
1=Pop-up. Used to control the
behavior of the graphics dialog
activated by the left mouse button. */
/* 0=Performance.
1=Quality. Controls whether or not
extra care is taken to preserve the
quality of the displayed image, at
the expense of performance. */
/* Same as locate set but applies only
to the review of file linkages. */
/* Same as locate set but only applies
to the review of file linkages. */
/* 1=Range.
2=Multi-sided. Used to control
what type linkages will be created
by notes, file, and database links. */
/* Default= 4. This is the color used to
highlight during review element.
The valid colors are:
LIGHT CYAN
0
DARK GRAY
1
BLACK
2
YELLOW
3
LIGHT GRAY
4
DARK CYAN
5
WHITE
6
LIGHT RED
7
LIGHT GREEN
8
LIGHT BLUE
9
BROWN
10
DARK RED
11
DARK GREEN
12
DARK BLUE
13
EE - 8
DARK MAGENTA
LIGHT MAGENTA
extern int dba_fg_color;
extern int dba_bg_color;
extern int dba_file_link_color
extern int dba_note_link_color
extern int dba_user_link_color
extern int dba_database_link_color
extern int dba_raster_menu_disable
14
15
*/
/* Default is 2. Foreground color
of the raster display. */
/* Default is 6. Background color
of the raster display. */
/* Default is 11. Attach File link
color. */
/* Default is 9. Attach Note link
color. */
/* Default is 3. Attach User link
color. */
/* Default is 8. Attach (database) link
color. */
/* Default is 0. If set the dba_g_menu
will not be displayed when the user hits
the hot key "v". */
/* Default graphics directory. */
/* Defaults graphics drive. */
To be able to view database links between unix and dos, two global
pointers have been set up. DB Access stores the original location
of a file in the database (dba_files). When a user displays a file,
that file is checked against dba_files table to see if it already has
a file number assigned to it. DB Access checks for three file
combination based on the previous pointers.
1) drive_path_filename
to database
2) dba_files_path/filename
to database
3) dba_files_drive/path_filename to database
where drive_path_filename is:
/usr/files/demo.tg4
or
c:lesemo.tg4
where dba_files_path is:
/usr/files
or
c:les
where dba_files_drive is:
/usr
or
c
If after three attempts to make a match fail, a new entry will
be put into the database.
extern int dba_redline_mode;
Arc
Arrow
Circle
Ellipse
Filled Circle
*
**
**
**
*
**
Draw Freehand, Draw Symbol and Select Redline only work on the pc
version of dba.
**
/* 0=Off.
1=On. Control variable to determine
whether or not the system supplied window
names are written to the window
border. */
EE - 10
Glossary GL - 1
Glossary
__________________________________________________________________________________________________________________________________________________
GL - 2
Glossary
Glossary GL - 3
Glossary
__________________________________________________________________________________________________________________________________________________
absolute pathname
accept
access
add query
address
alias
annotation
ANSI
application
array
arrow keys
ASCII
attributes
bezel
bit
GL - 4
Glossary
bitmap
block
bottom line
breakpoint
buffer
Data area.
button
byte
CAD
change row
Key-in mode that lest a user change the value of one or more
columns in the current row.
char
character
check box
checklist
choose
clicking
client
Glossary GL - 5
CLIX
code list
coded column
A column that accepts values only from its code list. A coded
column is represented by a row in the mdcodelist table.
collapse
collection
column
column field
command
command line
command string
compile
compress
constant
Control Menu
coordinates
counter field
GL - 6
Glossary
cursor
Data Definition
Language
data dictionary
data link
Data Manipulation
Language
data point
data structure
data type
database
database
administrator
date field
DB2
DBA
DDL
DEC
default
delete
delimiter
Glossary GL - 7
derived field
design file
development platform
device
dial
dialog box
dimmed
disk
DML
DM/Manager
document
double
drawing
drop
edit
enter
entity
GL - 8
Glossary
environment variable
error message
Ethernet
exit
field
file
file locking
filename
flag
font
form
freehand
full pathname
function
gadget
gadget label
gauge
global variable
Glossary GL - 9
graphic
grid
group
group gadget
Help
Help window
hit
horizontal
icon
ID
identify
include file
index
I/NFM
INFORMIX
INGRES
initialize
int
integer
GL - 10
Glossary
interface
I/ORL
item
justification
key column
Key-in mode that lets a user retrieve the first row in the
current table having the specified column value.
key-in
key-in mode
library
Collection of subroutines.
link
list box
local
log-in
malloc
mask
memory
Glossary GL - 11
menu
menu bar
message field
message strip
MicroStation
MicroStation 32
mode
mouse
mscatalog
mscodelist
mslink
network
NFS
Acronym for Network File System. The NFS product lets you
access files that are physically located on another node on
your local area network (LAN). Network file systems will
appear local to the NFS client.
node
nodename
GL - 12
Glossary
NULL
Indicates no value.
numeric field
occurrence
on-line Help
operating system
operator
ORACLE
ORL
See I/ORL.
overview
page field
palette
panel menu
parameter
password
path
pathname
pixel
place
Glossary GL - 13
portable
preface line
preprocessor
privilege
process
Program Manager
prompt
query
A search in a database.
query criteria
raster
raster data
raster file
GL - 14
Glossary
raster graphics
raster image
RDBMS
realloc
rectangle
relation
Table or view.
relational database
relational database
management system
Relational Interface
System
relational operators
relative pathname
report
report template
resize
resolution
restore
RIS
Glossary GL - 15
rotate
routine
row
run
runtime
schema
screen cursor
scripts
scroll
scroll arrows
scroll bar
select
server
set
Shamrock
shell
short
GL - 16
Glossary
slider
SNA
SQL
statement
states
stop
storage area
string
Sequence of characters.
Structured Query
Language
syntax
system
table
tap
template library
text
text field
time field
title bar
toggle
Glossary GL - 17
transaction
type
universe
universe review
UNIX
update active
user
value
variable
vector
vector graphics
version
view
window
window border
Windows NT
worksheet
GL - 18
Glossary
workstation
XNS
Index IN - 1
Index
__________________________________________________________________________________________________________________________________________________
IN - 2
Index
Index IN - 3
Index
__________________________________________________________________________________________________________________________________________________
A
accessing
Database Edit 9-3
Dialog Builder 4-7
Report Builder 5-6
Schema Edit 11-3
Add Query A-1, A-3
altering global variables EE-3
AND/OR Toggle A-5
Application Builder 3-3
arrays U-19
automatic resizing U-19
ASCII Structure D-5
Attach DAP Link A-7, A-10
Attach DB Linkage A-12, A-15
Attach File Link A-17
Attach Note Link A-19
attaching
schema 2-5
Auto Sequence A-21
B
Before You Begin 1-3
Binary Structure D-7
Bitmap Loader 8-3
bitmap utility 8-3
breakpoints
editing 6-9
reviewing 6-9
setting 6-9
Build Schema List B-1
Button B-4
C
Cancel C-1, C-3
Change All C-4, C-6
Change Row C-8 C-9
changes to DM/DB Access 2-5
character user variables U-19
Check Box C-11
choose 1-4
Clear All Dialogs C-12
client
locate R-69
IN - 4
Index
D
data definition R-58
Database Edit
accessing 9-3
graphics linkages 12-4
Database Utilities D-1
Date D-3
DB Access
graphics linkages 12-4
invoking
from MicroStation 12-5
reserved tables
mscatalog R-12, R-27
templates 2-6
DB2
create schema R-44
dba_files 12-10
dba_links 12-10
dba_points 12-10
DBA_RASTER 12-10
debugging scripts 6-6
Define Structure D-5
Delete D-11
Delete All D-12 D-13
Delete Field D-15
Delete Gadget D-17
Delete Group D-19
Delete Line D-20
Delete Redlines D-21
Delete Row R-8, R-12, D-23 D-24
Delete Sequence D-26
Delete Space D-27
deleting
rows D-12
deleting rows D-23
Derived D-28
Design Options D-30
designing dialogs 4-6
Dial D-32
Dialog Builder
accessing 4-7
dialogs
alter table R-64
blank 4-5
create schema R-37
create table R-61
data definition R-58
database 4-3
default 4-3
designing 4-6
dictionary access R-53
dialogs (continued)
drop schema R-51
drop table R-63
exclude R-66
include R-65
locate client R-69
modify node information R-55
modify schema password R-54
no database 4-3
schema definition R-34
schema file R-67
schema information R-36
schema manager R-32
scripts 4-6
secure schema access R-52
set R-70
table information R-60
dictionary access R-53
Display Dialog D-38
Display Group D-34
displayable attributes processing (DAP) A-7
batch A-9
DM/DB Access
new features 2-5
document conventions 1-4
Document List D-40
Draw Arc D-43
Draw Arrow D-45
Draw Block D-47
Draw Circle D-49
Draw Ellipse D-51
Draw Filled Block D-53
Draw Filled Circle D-55
Draw Filled Ellipse D-57
Draw Filled Shape D-59
Draw Freehand D-61
Draw Line D-63
Draw Shape D-65
Draw Symbol D-67
Draw Text D-69
Drop From Group D-71
Drop Table D-72
Dump Template D-73
E
Edit Code E-1, E-5
Edit Dialog Parameter E-7
Edit Field E-10
Edit Gadget E-11
Edit Line E-13
Index IN - 5
graphics (continued)
vector 12-3
Grid G-6
Grid Lock G-7
Group Box G-9
Group Copy G-10
Group Delete G-12
Group Edit G-14
Group Move G-17
Group Operations G-19
H
Help H-1
using on-line 1-6
I
identify 1-4
II_SYSTEM R-43
INFORMIX
create schema R-40
serial columns 9-7
INGRES
schema table R-43
Initialize Query I-1 I-2
Insert Row I-4 I-5, U-9, U-12
Insert Space (Report Builder) I-7
invoking DB Access
from MicroStation 12-5
J
join columns 2-7
multi-schema 2-7
outer join 2-8
K
Key Column K-1 K-2
key columns BB-4, C-32
defining BB-5
key in 1-5
L
libraries 2-6
Line L-1
line breakpoints 6-9
Line Operations (Report Builder) L-3
Line Script L-4
Linkage Mode L-9, A-12
Links Commands L-7
List Box L-11
Load File L-12, L-14
IN - 6
Index
ORACLE
create schema R-42
OS400
create schema R-49
outer join 2-8
Override Key-in O-1
M
Measure M-1, M-3
memory
reallocation U-19
MicroStation
design files 12-3
invoking DB Access 12-5
MicroStation Command Environment
(mce) 12-6
MicroStation commands
Place Fence A-13
modify DB2 password R-57
modify node information R-55
modify schema password R-54
Modify Sort M-4
mouse 1-4
Move Field M-8
Move Gadget M-10
Move Line M-12
Move Redlines M-13
mscatalog R-12, R-27
mscodelist BB-6
mslink BB-4, R-12, R-27, 12-5
Multi Gadget M-19
Multi-Column Field M-18
Multiple Column M-15
Multiple Reports M-23
multi-schema joins 2-7
P
Page P-1
Pan P-3, P-5
parts of the Help window 1-6
Pick Row P-6
Place Fence P-8
Place Fence Shape P-10
Place Field (Report Builder) P-12
Place Gadget P-14
Place Line P-22
placing fields P-12
column C-14
counter C-27
date D-3
derived D-28
numeric N-11
page P-1
text T-5
time T-8
Plot Window P-25, P-27
Previous Row P-28
print condition P-13
privileges
granting E-16
revoking E-16
Process Query P-31 P-32
Process Report A-13, P-34
N
New Blank
dialog N-1
report N-2
New Default
dialog N-4
report N-6
Next Row N-9
Numeric N-11
O
off fields F-15
on fields F-15
on-line Help 1-6
Q
queries
editing E-18
loading E-18
processing P-31
saving E-18
Query Q-1
query criteria
adding A-1
clearing I-1
creating 9-5
logical operators A-2
processing 9-5
relational operators A-2
substring searches A-1
using 9-5
Index IN - 7
rows (continued)
inserting I-4, U-9, U-12
reviewing R-22
unique
identifying BB-4
S
Save Dialog (Dialog Builder) S-1
Save Options S-3
Save Report S-5
saving templates
query E-18
schema
attaching 2-5
Schema Edit 11-3
accessing 11-3
schema lists
building B-1
schema manager R-32
activating R-32
create schema R-37
DB2 R-44
INFORMIX R-40
INGRES R-43
ORACLE R-42
OS400 R-49
RDB R-46
SYBASE R-47
data definition R-58
alter table R-64
create table R-61
drop table R-63
table information R-60
dictionary access R-53
drop schema R-51
exclude R-66
include R-65
locate client R-69
modify DB2 password R-57
modify node information R-55
modify schema password R-54
schema definition R-34
schema file R-67
schema information R-36
secure schema access R-52
set R-70
Schema Select S-7
Script Debugger 6-6
Script Debugger Dialog Options 6-6
scripting
dialogs 4-6
IN - 8
Index
scripts
creating 6-3
editing 6-3
Scrollbar S-9
secure schema access R-52
select 1-4
Select Redlines S-11
serial columns 9-7
Set Query S-13
Set/Review Breakpoints 6-9
Show Group S-15
Show Links S-16, S-18
Single Column S-19
Single Report S-23
Slider S-25
sort keys M-4
space
deleting D-27
inserting I-7
Spin Box S-27
SQL Statements S-28, 10-3
structure templates
ASCII D-5
binary D-7
user data D-9
Structured Query Language (SQL) 10-3
SQL statements
create index BB-6
substring searches A-1
SYBASE, create schema R-47
Symbol S-30
System Command S-32
T
table information R-60
Table Select T-1
tables
adding mslink BB-4
altering C-29
copying C-32
creating C-29
dropping D-72
mscatalog BB-4
mscodelist BB-6
reserved BB-3, C-29
Template Librarian 7-3
template libraries 2-6
maintaining 7-3
templates 2-6
ASCII structure D-5
binary structure D-7
templates (continued)
report
ASCII dump D-73
blank N-2, 5-5
default N-6, 5-3
processing P-34
saving S-5
unrelated tables N-2, 5-6
user data structure D-9
templib 7-3
Text T-3
Text Box T-4
text nodes A-7
Text (Report Builder) T-5
Text Size T-7
Time T-8
timestamp columns CC-3
U
Undelete Fence U-1
Undelete Field U-2
Undelete Gadget U-3
Undelete Group U-4
Undelete Line U-5
Undo Redlines U-15
unique row identification 9-7
universe of rows P-31, 9-5
universe review R-22
unrelated tables N-2
reports 5-6
Update U-6, U-8
Update Active U-9 U-10
Update Row U-12 U-13
updating database values 9-7
User Gadgets U-17
User Gauge G-4
User Variable U-19
user variables
arrays U-19
character U-19
Userdata Structure D-9
using on-line Help 1-6
USTN Command U-22
V
variables
environment AA-3
global
altering EE-3
vector graphics 12-3
Index IN - 9
IN - 10
Index