AutoQAB Configuration
The Program Generation options menu appears when you have
selected option 1 or 2 of the AUTOQAB Facilities menu. It shows the
options you can modify for the generated program:
Program Generation Options
1 Index
2 Related table processing
3 Field sequencing
4 Name of program
5 Clearfirst
6 Search methods
7 Generate program
8 Exit (X)
If you are generating all tables, you can change the program
name, clearfirst and search method defaults.
If you are generating a specific table, you can change any of
the defaults, as follows:
- Index for Main Table
You can select any primary or updated index, the default is the
main index.
- Indexes for Related Tables
You can select any primary or updated index. The default is to
validate tables for which the parent child record has parent check
flag set to YES. Validation modes can either be Always offer scan
or multiple choice, according to programmer preference.
Where multiple choice is selected, the fields in the multiple
choice map are displayed across the page, with as many fields as
can be displayed without wrapping.
- Field Processing
You can change the sequence in which fields are processed or insert
or remove fields from the field processing list. Do not use this
option until you have finished changing indexes, because changing
indexes also reorders fields. At program generation time the fields
may be reordered if you try to process them in an inconsistent
order.
AUTOQAB does not currently generate fields with the
prevent change flag set, even if this is indicated as being
required from the index link settings
- Program Name
This defaults to QABn where n is the internal number of the
selected table. You are recommended to change this to something
more meaningful. You should be aware that any original program or
maps with the generated name will be overwritten. The program name
is used as a basis for the procedure and procedure body names.
Programs for which all the field processing can be done in one map
will need just one procedure with the same name as the program, if
field processing has to be split between two or more procedures the
name used will be NAME, NAME1, NAME2 and so on.
- Clearfirst
The default is that all non-key fields are set to clearfirst and
all key fields are not clearfirst. The clearfirst default can be
changed for the key fields.
- Search Method
The default search methods are Always offer scan for the main table
and Multiple Choice for the related tables.
You are allowed to change these defaults by selecting one of the
following: