
REPORT
c
ontr
ol
br
e
ak
WHITE
ROB
26
WHITE
WILL
22
Control
Breaks
A
con
trol
break
o ccurs
during
the
prin
ting
of
a
rep ort
whenev
er
the
v
alue
of
a
curren
t
en
try
for
a
data
item
dened
in
a
n
um
b ered
sort
statement
is
dieren
t
from
the
v
alue
of
the
last
en
try
.
When
the
rst
en
try
is
prin
ted,
a
con
trol
break
o ccurs
since
the
data
item
v
alue
c
hanges
from
n
ull
(no
v
alue)
to
the
rst
v
alue.
T
otals
are
not
prin
ted
when
the
rst
con
trol
break
o ccurs.
In
the
previous
examples,
a
con
trol
break
o ccurs
when
the
v
alue
of
L-NAME
b ecomes
BR
O
WN,
when
it
c
hanges
to
GREEN,
and
again
when
it
c
hanges
to
WHITE.
This
is
kno
wn
as
a
lev
el
2
con
trol
break
b ecause
the
data
item
named
L-NAME
app ears
in
a
sort
statement
lab
eled
S2.
The
lev
el
1
con
trol
break
is
asso
ciated
with
the
data
item
named
F-NAME
and
sort
statement
lab
eled
S1.
A
con
trol
break
o ccurs
for
all
low
er
lev
els
whenev
er
a
higher
lev
el
con
trol
break
o ccurs.
F
or
example,
when
a
con
trol
break
o ccurs
for
lev
el
2
(L-NAME),
a
con
trol
break
also
o ccurs
for
lev
el
1
(F-NAME).
A
group
or
total
statement
prin
ts
only
when
a
con
trol
break
o ccurs
that
is
at
the
same
lev
el
as
the
group
or
total
statement.
This
means
that
a
total
statement
lab
eled
T1
prin
ts
only
when
a
lev
el
1
con
trol
break
o ccurs,
or
a
group
statement
lab
eled
G2
prin
ts
only
when
a
lev
el
2
con
trol
break
o ccurs.
Consult
the
descriptions
of
group
and
total
statements
later
in
this
section
for
an
explanation
of
their
functions.
Sort
statements
with
no
level
(i.e.,
no
n
um
b er)
are
used
to
sort
en
tries
but
do
not
dene
con
trol
breaks
for
use
b
y
group
or
total
statements.
Major
to
Minor
Sort
Fields
Num
b ered
and
unn
um
b ered
sort
statements
can
app ear
in
the
same
REPOR
T
command.
The
order
in
whic
h
unn
um
b ered
sort
statements
app ear
in
the
r
ep
ort
b
o
dy
is
signicant.
The
rst
unn
um
b ered
statement
denes
the
most
minor
sort
eld,
while
the
last
unn
um
b ered
statement
denes
the
most
ma
jor
sort
eld.
QUER
Y
denes
sort
elds
in
the
follo
wing
order
from
most
ma
jor
to
most
minor:
MOST
MAJOR
----------------------------------------------------->
MOST
MINOR
S10
--->
S1
--->
S( last
in
r
ep
ort
b
o
dy)
--->
S( rst
in
r
ep
ort
b
o
dy)
STATEMENTS
ORDER
S2,OFFICE
MONTH
(S3)
MAJOR
S,PARTNO
OFFICE
(S2)
|
S1,SLSMAN
SLSMAN
(S1)
|
S,QUANTITY
QUANTITY
(S
last )
v
S3,MONTH
PARTNO
(S
rst )
MINOR
QUERY/V
COMMANDS
3-113
Содержание QUERY
Страница 10: ......
Страница 17: ...Figure 1 1 ORDERS Data Base Structure Figure 1 2 Sample Entry Values INTRODUCING QUERY V 1 7 ...
Страница 20: ...Figure 1 3 IMAGE QUERY Environments 1 10 INTRODUCING QUERY V ...
Страница 36: ......
Страница 165: ...REPORT G1 GROUP TITLE 11 END QUERY V COMMANDS 3 129 ...
Страница 199: ...XEQ TF TOTAL DUE 9 SPACE B2 SKIP A TF R0 70 E2 S PURCH DATE END QUERY V COMMANDS 3 163 ...
Страница 200: ......
Страница 244: ......
Страница 278: ......
Страница 279: ...G ASCII CHARACTER SET This appendix is not available in this edition ASCII CHARACTER SET G 1 ...
Страница 280: ......