home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
clipper
/
dbr11.zip
/
TEST2.FMT
< prev
next >
Wrap
Text File
|
1993-07-27
|
2KB
|
104 lines
*
.Fields
Combined 01
Company 02
Salary 03
Age 04
HiredDate [DD MON YY] 05
Married 06 [Yes/No]
PersonNum 07
*
.Variables
SubTotal := SUM Salary
Total := SUM Salary
PersonTally := TALLY
SalaryMin := MIN Salary
SalaryMax := MAX Salary
SalaryAvg := AVERAGE Salary
AgeSalary := SUM Salary
AgeTally := TALLY
DateTally := TALLY
TotMarried := TALLY
TotSingle := TALLY
Variance1 := VARIANCE Age
StdDev1 := STDDEV Age
Variance2 := VARIANCE Salary
StdDev2 := STDDEV Salary
*
*
.VariableIf
AgeSalary IF Age >= 50
AgeTally IF Age >= 50
DateTally IF HiredDate < "01/01/86"
TotMarried IF Married == .t.
TotSingle IF Married == .f.
*
.VariableClear
SubTotal 01
*
.Group 01
Company
.ReportHeader
dbReport Demo
Copyright (c) 1993
Raymond J. Kuyvenhoven
*
.PageHeader
Page: ^#
Date: ^D
Time: ^T
.GroupHeader 01
Company: ^F2<<
Name Num Married HiredDate Salary
----------------------------------- ----- ------- --------- -----------
.ReportBody
^F1<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ^F7<< ^F6! ^F5<<<<<< ^F3$$$$$$$.$$
.GroupFooter 01
--------------
SubTotal ^V1$$$$$$$$.$$
==============
.PageFooter
.ReportFooter
--------------
Total ^V2$$$$$$$$.$$
==============
Min Salary: ^V4$$$$$$$.$$
Max Salary: ^V5$$$$$$$.$$
Avg Salary: ^V6$$$$$$$.$$
Num People: ^V3<
Total Married: ^V10<
Total Single: ^V11<
Employees over 50: ^V8<
Total Salaries: ^V7$$$$$$$$.$$
People hired before Jan 1, 1986: ^V9<<
Age Variance: ^V12<<<<<<<.<<
Age Std Dev: ^V13<<<<<<<.<<
Salary Variance: ^V14<<<<<<<.<<
Salary Std Dev: ^V15<<<<<<<.<<
*