Professional Documents
Culture Documents
Q-DBM-Database ENG CXXX
Q-DBM-Database ENG CXXX
(Q-DAS Database)
(Translation)
© Copyright 2009
Tel.: ++49/6201/3941-0
Fax: ++49/6201/3941-24
E-Mail: q-das@q-das.de
Internet: http://www.q-das.de
Hotline:
Tel.: ++49/6201/3941-14
Fax: ++49/6201/3941-714
E-Mail: hotline@q-das.de
2 Q-DAS Database
Preface 3
Preface
Thank you for your trust in our software. This manual helps you to be-
come acquainted with the principal features of this software quickly.
More information is available in the online help and on our website
http://q-das.com under Download.
We wish you all the best in working with Q-DAS® products.
Note:
Q-DAS® offers product-related training classes. We would be pleased to
send you detailed information about training contents. Up-to-date infor-
mation and upcoming training classes are also available on http://q-
das.com/Seminars/Product_training.htm. Furthermore, we also offer
trainings at your facility. Please contact us and we will make you an indi-
vidual offer. For self-education, we recommend our statistical reference
books.
Limitation of Warranty
The manual is provided without warranty for the correctness of the con-
tents. In spite of great effort to avoid mistakes, we cannot eliminate all
errors. Hence, we appreciate any advice and suggestion if you come
across an error.
4 Q-DAS Database
Table of Contents 5
Table of Contents
Preface................................................................................................... 3
Rights and Warranty ............................................................................. 3
Table of Contents.................................................................................. 5
1 Introduction ..................................................................................... 7
1.1 Why the database?.................................................................. 7
1.2 Supported databases............................................................... 7
2 Reading from the database ............................................................ 8
2.1 Overview ................................................................................. 8
2.2 Part selection........................................................................... 9
2.2.1 Displaying additional parts fields ................................ 9
2.2.2 Select part values..................................................... 10
2.2.3 Select values of all parts........................................... 10
2.2.4 Automatic Selection.................................................. 11
2.2.5 Select period ............................................................ 12
2.2.6 Options for the part selection.................................... 13
2.2.6.1 Options - Field Selection ............................ 13
2.2.6.2 Options - Load ........................................... 15
2.2.6.3 Options – Load (Characteristics) ................ 17
2.2.6.4 Options - sort ............................................. 20
2.2.6.5 Options - Filter ........................................... 22
2.2.7 Delete part................................................................ 23
2.2.8 Edit parts fields......................................................... 24
2.2.9 Copy test plan .......................................................... 24
2.2.10 Save parts to files..................................................... 25
2.3 Characteristics Selection ....................................................... 26
2.4 Filter selection ....................................................................... 27
2.4.1 Simple Filter ............................................................. 27
2.4.2 Quick Filter ............................................................... 28
2.4.2.1 Wild Card ................................................... 30
2.4.2.2 Empty Field ................................................ 30
2.4.2.3 Save as Complex Filter .............................. 31
2.4.2.4 Remove Filter............................................. 31
2.4.2.5 Save Settings............................................. 31
2.4.3 Advanced Filter ........................................................ 32
2.4.3.1 Creating new Advanced Filters .................. 32
6 Q-DAS Database
1 Introduction
In opposite to working with files, the database offers a multitude of selec-
tion and filtering options. Due to the existing storage options for single
filters and complete selections, an easy and transparent working with the
database is possible even without detailed database knowledge. We of-
fer key-user and administrator training courses for further collection of
database knowledge.
1 2 3
The user surface for selections has the same appearance for all data-
base systems and is divided into three parts:
1 Part selection
2 Characteristics selection
3 Filter selection
The part for the filter selection is adjusted to each selected filter type.
The following filter types are available:
• Simple Filter (for a selection after additional data)
• Quick Filter (for a selection in an AND / OR – matrix)
• Advanced Filter (for a selection by graphically designed and logi-
cally linked filtering conditions)
You are given the option to select particular values for additional data,
such as batch number, events, cavity number or time, by clicking on a
part in the part selection list with the right mouse-button and choosing
the function “Select part values”. If selecting several criteria, the criteria
are logically connected in an AND–relation. That means, all requested
additional data have to apply.
For example: if you define the batch number as the first criterion, you can
have your data separated automatically into different characteristics ac-
cording to the 3 batches that are contained in “Test 1”. The values with-
out a batch number are displayed as a separate characteristic without
batch number. If you do a new “automatic selection” and add a second
criterion this time, the single batches are being split once more. Using
“Test 1” you can, for example, select automatically after “Batch no.” on
the first level and after “minute” on the second level.
12 Q-DAS Database
You have the option to select by definable time periods by doing a right
mouse click on a part in the part selection window. According to the
number of time periods, each characteristic of the selected part will be
separated into sub-characteristics and evaluated accordingly.
Reading from the database 13
window, use the SHIFT or CRTL key on your key board while click-
ing on the parts to highlight multiple parts at the same time). When
the data is loaded, the characteristics of all parts are then merged
into one part. Which part this will be is deteremined either by selec-
tion, or with the help of a key field.
• Key fields
Click on one of the Key fields buttons to specify which K field in-
formation will identify the same part/characteristic. If you do not se-
lect any key field for parts, you will be prompted for a part when
loading the data from the database. The header data of your se-
lected part is taken over and used for the merged parts.
To define key fields, click on one of the two Key fields buttons. This
will open the Key fields window. Use the right mouse button to add
new or to delete existing key fields.
The concept of this filter is designed for users who need to retrieve rele-
vant information with only a few mouse-clicks. It is consciously kept sim-
ple to increase the velocity of the data selection. The simple filter selects
at the value level. As shown in the picture above, you are given the op-
tion to activate multiple filter criteria at the same time. The chosen filter
criteria are logically “AND” connected; that means, only those data will
be listed as a filter result, that match with all filter criteria.
28 Q-DAS Database
At first, you should activate your favorite filter criterion. With the but-
ton you can get to the selection dialog for the corresponding filter condi-
tions. With the left mouse-button, you can choose one or, by using the
“Shift” or “Ctrl”-key in addition, multiple filter conditions.
conditions entered in different columns are linked with a logical AND re-
lation.
Below the filter entry mask, a preview of the current filter is displayed in
form of a logical schema chart.
To add additional columns to the Quick Filter, right-click on the quick fil-
ter entry mask and select the “New column” function. Further filter criteria
from each level can be transferred to the Quick Filter entry mask by us-
ing drag and drop functionalities.
Note:
If you enter measurement values or other information such as tolerance
limits or the nominal as filter conditions, , use the point as decimal sepa-
rator and not the comma. This is required because the data is stored in
the database in this format, and the filter condition becomes part of the
database SQL command directly as entered.
A right click on a criteria input field opens a context menu. Click on Wild
card and the selected field becomes a wild card.
To delete the wild card, open the context menu
and click on Wild card again.
If a wild card is in use, the Enter selection criteria
dialog box opens when starting the filter. This box
prompts the user
for the contents for
of the wild card
field. If there are
two active wild
cards per K field,
the two wild cards
can be linked with
a logical OR con-
nection.
Example:
A part with the part num-
ber 1 but without part de-
scription
Reading from the database 31
Click on the Remove filter button to remove all filters that might currently
be applied to the Parts selection or Characteristics selection. All the parts
together with all their characteristics will be are displayed again.
The icons in the upper bar are (in the sequence from left to the right):
• “Condition” for the determination of a filter criterion
• “AND-Connection“ for linking several filter conditions (all linked
conditions have to be fulfilled)
• “OR-Connection” for linking several filter conditions (minimum one
of the linked conditions has to be fulfilled)
• “NAND-Connection” (not and)
• “NOR-Connection” (not or)
• “NOT-Connection” (also called negation)
• Connection line
• Symbol settings (old DIN norm, new DIN norm, US norm)
To create a filter, please pull one “condition” onto the layout area using
“drag and drop” with the left mouse-button. The condition is displayed as
a white box on the layout area. You can define the filter condition by do-
ing a right mouse-click on this box and selecting the function “Edit con-
tents”.
• First select the filter level in which the information can be found in
the corresponding pull-down-menu.
• Enter the desired selection criterion in the “Field content” box and
select whether the criterion shall be contained in the selected field
(LIKE) or whether the field contents has to match this criterion ex-
actly (=). The available comparison operations depend on the se-
lected field type. For text fields “=” and “LIKE” are available. For
numerical fields, on the other hand, “<”, “=”, “>” and “LIKE” are
available.
34 Q-DAS Database
Remark:
If measurement values or fields such as specification limits or no-
minal value have been chosen as filter criterion, please be careful
that a point and not a comma is used as separator for the decimal
places, since this is directly entered into a SQL-command.
Example: Nominal value = 20,01
Filter criterion = 20.01
After having created all the required filters, drag and drop the filter(s) to
All parts, to a certain part or to a certain characteristic in the Parts selec-
tion portion of the window in order to apply the filter(s). Parts filters and
characteristics filters cannot be applied within the Characteristics selec-
tion.
If you apply several filters successively or if you apply one filter to sev-
eral levels,
the Apply
filter dialog
box (see the
picture on
the right)
opens before
you can start
applying the
next filter.
Here, you
can select whether the last used filter criteria should be kept or whether
they should be replaced by the new filter criteria. To confirm your selecti-
on, click on OK.
36 Q-DAS Database
If you apply several filters to the same level successively, you can select
whether you
want to re-
place the ex-
isting filter, or
whether you
want to link
the filters us-
ing a logical
OR connec-
tion, or a
logical AND
relation. As it
is important
to keep a
consistent
order of the
used filters for this option, it is advisable to adjust the required settings in
the filter itself, and to use only one filter per level.
2.5 Queries
If you use an active filter, you can create new queries or add single parts
to existing queries by right-clicking the mouse.
Reading from the database 37
New queries are created after first filtering with a complex filter. Select
the Complex filter option in the Filter selection to use this function.
If you create new queries using the New selection option, this query is
only available to those users who are registered when you created it.
Choose New query or New query for user groups and the Include in se-
lection dialog box opens. Select which parts you want to add to the new
query.
1
2
3
Use complex filters to restrict the part level. However, only those
parts that had been selected before you created the query, are
1 added to the selection and remain there, even though the filter
criterion does not work anymore (e.g. a time filter). These parts
are loaded without measurement values and characteristics.
It is not necessary to select parts before creating a query. If you
choose this option, the selection is dynamic and always includes
all parts corresponding to the saved filter criteria. This is the
2 most frequently-used option because the number of parts is
reduced to those parts that meet the defined filter criteria
when starting a selection.
The third radio button is a combination of option 1 and 2. Only
the parts that had been selected before you created the query
are added to the selection. However, these parts are deleted
3 when they do not correspond to the respective filter criteria any-
more. New parts meeting the filter criteria are NOT added to the
selection automatically.
The saved queries are displayed in the Parts selection. Now, you can
access saved queries again when reading from the database. The Q-
DAS® Reporting System also works with these queries when they have
been created with the Superuser. Choose clear query names for clarity’s
sake.
38 Q-DAS Database
Normal selections, only available to the user who created it, are marked
with the following icon.
Use these options to change the default settings for Load (see chapter
2.2.6.2 ), Load (Characteristics) (see chapter 2.2.6.3 ) and Sort (see
chapter 2.2.6.4 ) of the selected query.
Special feature:
In addition to the possible settings described in chapter 2.2.6.2 to group
parts, you can also select the main part in the Specific options for: dialog
box. This option prevents the part query dialog box from opening.
If you have already selected parts fields by clicking on the Key fields
(parts) button, you cannot select the main part because the Select main
part button is not active.
40 Q-DAS Database
3 Database synchronization
3.1 General preconditions
The database synchronization allows for a decentralized storage of test
plans and measurement values and for evaluation from a central data-
base.
For this, a local database is used that contains excerpts from the central
database. Synchronization with the data in the central database can be
triggered manually or automatically in configurable time-intervals.
The use of the GUID and saving events in the WERTEVAR table has to
be turned on using the Database options (ATTENTION: this step cannot
be undone).
The central database is declared as “central” database with the “Use da-
tabase as server for test planning” checkbox, also using the Database
options (ATTENTION: this step cannot be undone).
The “Data amendment log” option has to be used for the local and the
central database.
The lower portion of the window displays date and time of the last
successful synchronization, the last and the next start time as well
as date and time of the next scheduled database compression un-
der “cycle time”.
44 Q-DAS Database
4 Index
A E
C I
D L
M R
O S
Part selection · 9 T
Preliminary selection · 14
Teilefelder bearbeiten · 23
Q
Quickfilter · 27