*

advertisement
* EDITINC.PRG
*----------------~-----------------------------------*
Nur-1BER: 5.2 *
* PROGRAlv'l NAME: EDITINC
*
** CALLING PROGRAM(S): EDITREC
*
*
PARAMETER(S) : TCRNUM
*
* PROGRAr1(S) CALLED: NONE
*
*
PARAHETER(S) : NONE
*
*
*
* PURPOSE: This module allows the user to edit the *
* va r ious fields of an incident report. TCRNUTvi is *
*
* used to find the desired record.
*
*
parameters tcrnum
select 2
use master
select 3
use incident
edit fields pg_num,total-pgs,crnum,inc_type,sup_corr,date_occ,i
time_occ,how_rept,type_local for crnum = tcrnllTn
select 2
edit fields lastname, firstname, middle, street,city,;
state, zip for crnum = tcrnum .and. identifier = nCR
select 3
edit fields rept_bphon,cam_local,city_inc,county_inc,;
state_inc for crnum = tcrnum
select 2
edit fields lastname,firstname,middle,street,citYli
state,zip,identifier;
for crnum = tcrnum .and. identifier <> "C"
select 3
edit fields inva-phone,inva_bphon,inva_ssn,inva_dob,;
inva-phys,inva_idacs,inva_ncics,;
invb-phone,invb_bphon,invb_ssn,invb_dob,;
invb-phys,invb_idacs,invb_ncics for crnum = tcrnum
edit fields rev_ln,rev_fn,rev_mi,rev-pe,date_rev,;
revrecstat,off_ln,off_fn,off_mi,off-pe,date_rept;
for crnum = tcrnum
set format to narrative
edit for crnum = tcrnllm
set format to
clear all
return
60
*
EDITSUP.PRG
*
PROGRAM NAME:
*----------------------------------------------------*
**
*
*
*
*
*
*
*
*
EDITSUP
NUl,mER:
5.3
EDITREC
CALLING PROGRAM (8) :
PARAMETER(8): TCRNUM
NONE
PROGRAr-l (8) CALLED:
PARAMETER(S):
NONE
This module allows the user to edit the
narrative field of the supplemental report.
TCRNUM is used to find the desired record.
PURPOSE:
parameters tcrnum
use supplerne
do while .not. EOF()
edit next 1 field crnum for tcrnum = crnum
set format to narrative
edit next 1 for crnum = tcrnurn
set format to
clear
enddo
clear all
return
*
*
*
*
*
*
*
*
*
*
*
61
*
*
*
PRINTCOM.PRG
*----------------------------------------------------*
*
*
*
*
**
*
*
*
*
*
PRQGRAl-1 NAHE:
PRINTCOM
NUMBER:
5.4
PRINTREC
CALLING PROGRAM(S):
PARAMETER(S): TCRNUM
NONE
PROGRAM(S) CALLED:
NONE
PARA~1ETER(S) :
PURPOSE: This module asks the user if the report
should be printed on paper or simply to the
screen. Then the complaint card information,
including complainant information stored in
MASTER, is printed.
*
*
*
*
*
*
**
*
*
*
*
*
parameters tcrnum
store " " to response
clear
select 2
use master
select 3
use complain
@3,5 say "Do you want the report printed on paper? (yIN)
get response picture "1"
read
if response = "y"
set print on
set margin to 5
endif
set talk off
LOCATE FOR CRNUM = TCRNUM
? "COMPLAINT:
"+COMPLAINT
? "C R NUMBER:
"+CRNUM
??"
REC'D BY:
"+PE
? "DATE: "+dtoc(DATE_REC)
? "TIME: "+TUm_REC
? "LOCATION: "+LOCATION
SELECT 2
LOCATE FOR CRNUl"l = TCRNUl>1 .AND. IDENTIFIER
? "COMPLAINANT--LAST: "+LASTNAME
? "
FIRST:
"+FIRSTNAME
??"
MIDDLE:
"+MIDDLE
? "ADDRESS--STREET: "+STREET
? "
CITY:
"+CITY
??"
STATE:
"+STATE
??"
ZIP:
"+ZIP
SELECT 3
? "PHONE: "+PHONE
? "CAR (1): "+CAR_NUM
??"
UNIT (1):
"+UNIT NUM
? "CAR (2): "+CAR_NUM_A??"
UNIT (2):
"+UNIT NUM A
? "10-23: "+CIO 23
?1 "10-24: "+CIO_24
if response
wait
endif
<> "Y"
--
=
"C"
" ;
set memowidth to 70
? details
set memowidth to
if response <> "y"
wait
endif
set print off
CLEAR ALL
RETURN
**
~).4-
"**
64
*PRINTCAS.PRG
*----------------------------------------------------*
*
*
*
*
**
*
*
*
*
*
*
*
*
*
*
*
*
*
PROGRAM NAHE:
NUMBER: 5.5
PRINTCAS
(Continued by PCASE2 (no. 5.6),
PCASE3 (no. 5.7) and PCASE4
(no. 5.8»
CALLING PROGRAr·1 (S) : PRINTREC
*
PARAMETER(S): TCRNUH, RESPONSE
* PROGRAM(S) CALLED: NONE
PARAMETER(S) : NONE
*
* PURPOSE: This module asks the user whether the
*
*
report should be printed on paper or simply to
* the screen. Then the databases CASE, COMPLAIN, **
*
MASTER, and CASESTAT are used to print the whole *
report. PCASE2, PCASR3, and PCASE4 finish the
*
*
*
printing.
*
parameters tcrnum,response
clear
store " " to response
select 2
use master
select 3
use case
select 4
use complain
select 3
@3,5 say "Do you want the case report printed on paper? (yIN) " ;
get response picture "I"
read
set talk off
if response = "yo
set print on
set margin to 5
endif
locate for crnum = tcrnum
? "PAGE:
"+PAGE_NUH
??"
OF:
"+TOTAL_PGS
? "CASE Nut·mER:
"+CRNUM
? "OFFENSE:
"+TYPE_OFF
? "SUPERVISORY CORREC1'ION:
"+SUP_CORR
SELECT 2
locate for crnum = tcrnum .and. identifier
? "VICTIM NAME--LAST:
"+LASTNAME
? "
FIRST:
"+FIRSTNAME
??"
MIDDLE:
"+MIDDLE
SELECT 3
? "RESPONSIBLE PARTY:
SELECT 2
"+RESPONSIBL
? "VICTIM ADDRESS--STREET:
"+STREET
? "
CITY: "+CITY
??"
STATE:
"+STATE
??"
ZIP:
"+ZIP
SELRCT 3
=
"V"
? "HOME PHONE: "+VIC_PHONE
??"
BUSINESS PHONE:
"+VIC_BPHON
? "VICTHl' S SEX: "+VIC_SEX
??"
RACE:
"+VIC_RACE
? "DOB: "+dtoc{VIC_DOB)
??"
AGE:
"+VIC_AGE
??"
SSN:
"+VIC_SSN
? "DESCRIBE INJURY: "+VIC_INJURY
? "PLACE OF 'rREA'1'MENT: "+VIC_TREAT
65
if response <> "y"
wait
endif
? "RANGE FOR DATE OF OCCURRENCE--EARLIEST:
dtoc{D_OCC_EARL)
??"
LATEST:
"+dtoc{D_OCC_LATE)
? "RANGE FOI{ Tn~E OF OCCURRENCE--BARIJIEST:
+T_OCC_EARL
??"
LATEST:
"+T_OCC_LATE
SELEC'l' 4
"+;
";
LOCATE FOR CRNUlil = TCRN(H1
? "DATE: REPORTED:
"+dtoc (DNl.'E_REC)
??"
TIME REPORTED:
"+TIME_REC
SELECT 3
"+HOW_REPT
? "HOW REPORTED:
? "RURAL/URBAN: "+TYPE_LOCAL
SELECT 4
? "RECEIVED BY:
SELECT 2
"+PE
LOCATE FOR CRNLH4 = TCRNUM .AND. IDENTIFIER
? "REPORTED BY--LAST: "+LASTNAME
? "
FIRST:
"+FIRSTNAME
??"
MIDDLE:
"+MIDDLE
? "ADDRESS--STREET: "+STREET
? "
CITY:
"+CI'I'Y
??"
STATE:
"+STATE
??"
ZIP:
"+ZIP
SELECT 4
? "HOME PHONE:
SELECT 3
=
"C"
"+PHONE
??"
BUSINESS PHONE:
"+REPT_BPHON
? "EXACT LOCATION OF OFFENSE: "+CAM_LOCAL
? "CITY: "+CITY_OFF
? "TOWNSHIP:
"+TOWN_OF'lo'
? "COUNTY: "+COUNTY OFF
? "STATE: "+STATE_OPF
if response <> "Y"
wait
endif
? "~HTNESS 'I'O THE CRIlIJE:
" ,WITt-JESS_YN
? "WITNESS/NEIGHBORHOOD CHECK (W/N):
"+TYPE_WIT
¥ELECT 2
Ocate for crnurn = tcrnum .and. identifier
? "WITNESS NAME--I.AST:
"+LASTNAHE
? "
FIRST:
"+FIRSTNAME
=
"W"
?? "
MIDDLE:
"+MIDDLE
? "ADDRESS--STREET: "+STREET
? "
CITY: "+CITY
??"
STATE: "+STATE
??"
ZIP: "+ZIP
SELECT 3
? "HOME PHONE::
"+WIT_PHONE
??"
BUSINESS PHONE:
"+WIT_BPHON
? "INTERVIEWED? (yiN) ",WIT_INTVU
? "STATEl1ENT? (yiN) ", WIT_STTMT
if response <> "y"
wait
endif
RETURN
** 5.5 **
66
*PCASE2.PRG (continuation of caserpt.prg)
** 5.6
parameters tcrnum,response
? "WITNESS/NEIGHBORHOOD CHECK (v~/N):
"+TYPE_WITB
SELECT 2
continue
? "WITNESS NAME--LAST:
"+LASTNAME
? "
FIRST:
"+FIRSTNAME
??"
MIDDLE:
"+MIDDLE
? "ADDRESS--STREET: "+STREET
? "
CITY:
" +CITY
??"
STATE:
"+STATE
??"
ZIP: "+ZIP
SELECT 3
? "HOME PHONE::
"+WITB_PHONE
??"
BUSINESS PHONE: "+WITB_BPHON
? "INTERVIEv~ED? (Y/N) ", WITB_INTVU
? "S'I'ATEHENT? (Y/N) ",~nTB_srl'TWl'
? "SUSPECT:
",SUSPECT_YN
if response
wait
endif
<> "Y"
? "SUSPEC'l'--NAMED:
" , SUS_NAMED
? "
KNOWN:
",SUS_KNOWN
? "
KNOWN LOCATION:
",SUS_LOCAL
? "
IDENTIFIED:
",SUS_IDENTD
? "
PREVIOUSLY SEEN: ",SUS_SEEN
? "
DESCRIPTION: ",SUS_DESCRB
SELF;CT 2
locate for crnum = tcrnum .and. identifier
? "NAME--LAST: "+LASTNAME
? "
FIRST:" +FIRSTNAf'iE
??"
MIDDLE: "+MIDDLE
? "ADDRESS--STREET; "+STREET
? "
CITY: "+CITY
??"
STATE:
"+STATE
??"
ZIP:
"+ZIP
SELECT 3
? "DOB: "+dtoc(SUS_DOR)
??"
SSN;
"+SUS_SSN
? "DESCRIPTION: "
? SUS_PHYS
? "IDENTIFIED BY:
"+SUS_ID_BY
? "ARREs'rED: " , SUS_ARREST
? "MUG: ",SUS_MUG
??"
PRINT:
",SUS_PRINT
??"
C.R. CHECK: ",SUS_RECORD
if response
wait
endiE
RETURN
<> "Y"
=
"S"
**
67
*PCASR3.PRG (continuation of pcase2.prg)
parameters tcrnum,response
? "SUSPECT--NAMED: ",SUSB_NAMED
? "
KNOWN:
",SUSB_KNOWN
? "
KNOWN LOCATION:
" , SUSB_I.lOCAL
? "
IDENTIFIED:
",SUSB_IDENT
? "
PREVIOUSLY SEEN:
",SUSB_SEEN
? "
DESCRIPTION: ",SUSB_DESCR
SELECT 2
continue
** 5.7 **
? "NAME--LAST: "+LASTNAME
? "
FIRST: "+FIRSTNAME
??"
MIDDLE:
"+MIDDLE
? "ADDRESS--STREET:
"+STREET
? "
CITY: "+CITY
??"
STATE: "+STATE
??"
ZIP: "+ZIP
SELECT 3
? "DOB: "+dtoc(SUSB_DOB)
??"
SSN:
"+SUSB_SSN
? "DESCRIPTION: "
? SUSB_PHYS
? "IDENTIFIED BY:
"+SUSB ID BY
? "ARRESTED: ",SUSR_ARRES
? "l>1UG:
" , SO SB_MUG
??"
PRINT:
",SUSB_PRINT
??"
C.R. CHECK: ",SUSB_RECORD
SELECT 3
? "VEHICLE IDENTIFIED:
if response <> "y"
wait
endif
",VEH_INVOLV
? "VEHICLE--SUSPECT: ",VEH_SUSPCT
? "
STOLEN:
",VEH_STOLEN
? "
RECOVERED:
",VEH_RECOVD
? "
OTHER:
" , VEH_OTH f~R
? "l>lAKE:
"+VEH_MAKE
??"
COLOR:
"+VEH_COLOR
??"
YEAR:
" +VE H_Y EAR
??"
rIlODEL:
"+VEH_MODEL
? "BODY S.:
"+VEH_BODY
??"
LIC. YR.:
"+VEH_LIC_YR
??"
LIC. ST.:
"+VEH_LIC_ST
? "LIC. NO.: "+VEH_LIC_NO
??"
WHERE HELD: "+VEH_HOLD
? "VIN: "+VEH_ID_NO
? "SIGNIFICANT MO OR LIMITED OPPORTUNITY: ",MO
? "SIGNIE'ICANT MO:
",SIGNIF_MO
? "LIMITED OPPORTUNITY: ",LIMD_OPP
? "DESCRIBE:
"
? S_L_DESCRP
? "MOTIVE: "+MOTJVE
? "TRACEABL~ PROPERTY/SIGNIF. PHYS. EVIDENCE: ",PROP_EVID
if response
wait
endif
RRlJ1rHH\J
<> "Y"
68
*PCASE4.PRG (continuation of case3)
parameters tcrnum,response
? "TRACEABLE PROPERTY:
",TRACE_PROP
? "SIGNIFICANT PHYSICAL EVIDENCE:
",PHYS_EVID
? "PHOTO: ",PHOTO
??"
FINGERPRINT: ",F_PRINT
??"
OTHER: ",EVID_OTHER
? "SCENE TECH.: ",SCENE_TECH
??"
PE NO. TECH.: "+SCENE_PE
? "PROPERTY RECOVERED: ",PROP_RECOV
? "COLLECTED EVIDENCE: ",COLL_EVID
? "INSTRUMENT,FORCE,WEAPON: "+WEAPON_DES
? "PROPERTY STOLEN/RECOVERED STOLEN: "+MISS_PROP
? "DESCRIPTION: "+MPROP_DESC
? "IDENTIFICATION NO.:
"+MPROP_ID
? "VALUE:
$"+str(MPROP_VAL)
? "PROPERTY STOLEN/RECOVERED STOLEN:
"+MISS_PROP2
? "DESCRIPTION: "+MPROP2_DES
? "IDENTIFICATION NO.: "+MPROP2_ID
? "VALUE: $"+str(MPROP2_VAL}
if response
wait
endif
<> "Y"
? "PROPERTY STOLEN/RECOVERED STOLEN:
? "DESCRIPTION:
"+MPROP3_DES
? "IDENTIFICATION NO.:
"+MPROP3_ID
"+MISS_PROP3
? "VALUE: $"+STR(MPROP3_VAL}
? "IDACS: ",IDACS
??"
NCIC: ",NCIC
? "TOTAL VALUE RECOVERED STOLEN:
? "TOTAL VALUE STOLEN:
if response
wait
endif
<> "Y"
$"+str(TOT_MPROPV)
$"+str(TOT_RECVAL)
set memowidth to 70
? NARRATIVE
set memowidth to
CLOSE DATABASE
USE CASESTAT
if response <> "Y"
wait
endif
locate for crnum = tcrnum
? "INITIAL OFFICER STATUS:
"+INIT_STAT
? "RECOMMEND TO CONTINUE: "+INIT REC
? "INITIAL OFFICER NAME--LAST: "+INIT_LN
? "
FIRST: "+INIT_FN
??"
MIDDLE: "+INIT_MI
? "PE: "+INIT_PE
??"
DATE: "+dtoc(INIT_DATE)
? "FIELD SUPERVISOR STATUS: "+SUP_STAT
? "RECOMMEND TO CONTINUE: "+SUP_REC
? "FIELD SUPERVISOR NAME--LAST: "+SUP LN
? "
FIRST: "+SUP_FN
??"
MIDDLE: "+SUP_MI
? "PE: "+SUP_PE
??"
DATE: "+dtoc(SUP_DATE)
? "INVESTIGATIVE COORDINATOR STATUS: "+INVC_REC
? "INVEST. COORD. NAME--LAST: "+INVC LN
** 5.8 **
69
1 R
FIRST:
R+INVC_FN
11 R
MIDDLE:
R+INVC_MI
1 apE:
"+INVC_PE
11"
DATE:
R+dtoc(INVC_DATE)
11"
STATUS:
"+FINAL_STAT
"+AINV_LN
1 "ASSIGNED INVESTIGATOR NAME--LAST:
1 "
FIRST:
"+AINV_FN
11"
MIDDLE:
"+AINV_MI
1 apE:
"+AINV_PE
11"
DATE:
"+dtoc(AINV_DATE)
if response
wait
endif
<> "Y"
set print off
CLEAR ALL
RETURN
** 5.8 **
70
71
PRINTINC.PRG
* ___________
.w ________________________________________ *
*
*
*
*
*
*
**
PROGRAM NAHE:
PRINTINC
NUMBER:
5.9
CALLING PROGRAH(S) : PRINTREC
PARAr1ETER (S) : 'l'CRNUM
PROGRAM (S) CALLED: NONE
PARAMETER(S) : NONE
*
*
*
*
*
*
*
PURPOSE: This module asks the user whether the
*
report should be printed on paper or simply to
*
*
* the screen. Then the databases INCIDENT, MASTER,*
*
and COMPLAIN are used to print the report.
*
*
*
PARAMETERS TCRNUM
clear
store " " to response
store "
select 2
use master
select 3
use incident
select 4
use compl<iin
SELECT 3
" to tname
@3,5 say "Do you want the report printed on paper? (Y/N) "
get response picture "1"read
clear
if response = "y n
set margin to 5
set print on
endif
locate for crnum = tcrnum
? "PAGE:
"+PG_NUM
??"
OF':
"+TOTAL_PGS
? "INCIDENT REPORT NUMBER: "+CRNUM
? "INCIDENT TYPE:
"+INC_TYPE
? "SUPERVISORY CORRECTION: "+SUP_CORR
? "DATE OF OCCURRENCE: "+dtoc(DATE_OCC)
??"
TU1E OF OCCURRENCE:
"+TH'IE_OCC
SELECT 4
I.OCATE FOR CRNm·'{ = TCRNm~
? "DATE REPORTED:
"+dtoc(DATE_REC)
??"
TIME REPORTED:
"+TIME_REC
SELECT 3
? "HOW REPORTED: "+HOW_REPT
? "RURAL/URBAN: "+TYPE_LOCAL
SELECT 4
LOCATE FOR CRNUM = TCRNUM
? "RECEIVED BY: "+PE
SELECT 2
LOCATE FOR CRNUM = TCRNUM .AND. IDENTIFIER
? "REPORTED BY--LAST: "+LASTNAME
? "
FIRST:
"+FIRSTNAME
??"
MIDDLE:
"+MIDDLE
? "ADDRESS--STREET: "+STREET
? "
CITY:
"+CITY
??"
~T~TF·
"~~TATR
=
"C"
i
?? "
ZIP:
"+ZIP
SELECT 4
LOCATE FOR CRNUM = TCRNUM
? "HOME PHONE: "+PHONE
SELECT 3
??"
BUSINESS PHONE:
"+REPT_BPHON
72
if response <> "Y"
wait
endif
? "EXACT LOC.1\TION OF INCIDENT:
"+CAH_LOCAL
? "CITY:
"+CITY_INC
? "COUNTY: "+COUNTY_INC
??"
STATE: "+STATE_INC
SELECT 2
IJOCATE FOR CRNU~l = TCRNUM .AND. IDENTIFIER <> "C"
STORE LASTNAt-1E+FIRSTNAME+lHDDLE TO TNAME
? "HOW PERSON IS INVOLVED: "+IDENTIFIER
? "NAME--LAST: "+LASTNAME
? "
FIRST: "+FIRSTNAMF.
??"
MIDDLE: "+MIDDLE
? "ADDRESS--STREET: "+STREET
? "
CITY: "+CITY
??"
STATE: "+STATE
??"
ZIP: "+ZIP
SELECT 3
? "HOME PHONE: "+INVA_PHONE
??"
BUSINESS PHONE:
" +1 NVA_BPHON
? "DOB: "+dtoc(INVA_DOB)
? "SSN: " +1 NVA_SSN
? "DESCRIPTION: "+INVA_PHYS
? "IDACS: ",INVA_IDACS,"
NCICS:
if response <> "Y"
wait
endif
",INVA_NCICS
SELECT 2
LOCATE FOR CRNUH == TCRNtJr.! .AND. IDENTIFIER
TNAME <> LASTNAME+FIRSTNAME+MIDDLE
? "HOW PERSON IS INVOLVED:
"+IDBNTIFIER
? "NAME--LAST: "+LASTNAME
? "
FIRST:
"+FIRSTNAME
??"
MIDDLE:
"+MIDDLE
? "ADDRESS--STREET: "+STREET
? "
CITY: "+CITY
??"
STATE: "+STATE
??"
ZIP: "+ZIP
<> "C" .AND.
SELECT 3
? "HOlm PHONE:
" +1 NVB_PHONE
??"
BUSINESS PHONE:
"+INVB_BPHON
? "DOB: "+dtoc(INVB_DOB)
??"
SSN: "+INVB_SSN
? "DESCRIPTION: "+INVB_PHYS
? "IDACS:
",IiWB_IDACS,"
NCICS:
",INVB_NCICS
if response <> "Y"
wait
endif
? "REVIEWER'S NAME--LAST:
"+REV LN
? "
FIRST: "+REV_FN
??"
MIDDLE:
"+REV_MI
? "PE: "+REV_PE
??"
DArrR!
"+rlt- or (nn.'T'R RRU'
i
? "STATUS: n+REVRECSTAT
? "OFFICER 'S NAME---LAS'J.': "+OFF _LN
? "
FTRST:
"+OFF_FN
??"
MIDDLE::
"+OFF_MI
? "PE:
??"
"+OF:~_PE
DATE:
"+dtoC(DATE_REPT)
if response <> "y"
wait
endif
set memowidth to 65
? narrative
set memovlidth to
set print off
wait
CLEAR ALI.
set margin to 0
return
**
~I. 9
**
73
*PRINTSUP.PRG
*----------------------------------------------------*
*
*
*
*
*
**
*
*
PROGRAH NAj'IlE:
PRINTSUP
CALLING PROGRAM (S) :
PARAMETER(S) :
PROGRAr1 (S)
CALLED:
PARAMETER(S):
NUMBER:
5.10
PRINTRI<';C
TCRNUM
NONE
NONE
This module asks the user whether the
report should be printed on paper or simply to
the screen. Then the supplement is printed.
PURPOSE:
*
*
*
*
*
*
*
*
*
*
*
*
parameters tcrnum
use suppleme
set heading off
store " " to response
locate for tcrnum = crnum
@3,5 say "Do you want the report printed on paper? (yiN) " ;
get response picture "r"
read
if response = "y"
set margin to 5
set memowidth to 70
set print on
endif
do while .not. EOF()
? "CASE NO.: "+crnum
? narrative
if response <> "y"
wait
else
eject
endif
continue
enddo
set print off
set memowidth to
set margin to 0
set heading on
clear all
clear
return
74
*FIND_START.PRG
*----------------------------------------------------*
* PROGRAM NAME:
FIND_START
NU MB ER :
5 • 11 *
*
* CALLING PROGHAl-1 (S) : VI EW_T
*
PARAMETER(S): B, START, BBEAD
NONE
* PROGRM" (S) CALLED:
*
PARAMETER(S) : NONE
*
* PURPOSE: 'This module returns the correct tallies
*
for one month specified by the user (START).
* BREAD returns the heading to put on the top of
*
*
the printed column.
parameters bmonth,start,hheaa
do case
case bmonth
start =
hhead =
case bmonth
start =
hhead =
case bmonth
start =
hhead =
case bmonth
start =
hhead =
case bmonth
start =
hhead =
case bmonth
start =
hhead =
case bmonth
start =
hhead =
case bmonth
start =
hhead =
case bmonth
start =
hhead =
case bmonth
start =
hhead =
case bmcnth
start =
hhead =
case bmonth
start =
hhead =
endcase
return
=
1
"jan_count"
"JAN
2
=
"
"feb _count"
"FEB
3
=
"
"mar - count"
"MAR
4
=
"
"apr_count"
"APR
5
-
"
"may_count"
"MAY
=
6
"
"jun_count"
"JUN
7
=
"
"jul_count"
"JUL
= 8
"
"AUG
"
"aug_count"
= 9
"sep_count"
"SEP
= 10
"
"oct _count"
"OCT
11
=
"
"nov_count"
"NOV
= 12
"
"DEC
"
"dec_count"
*
*
*
*
*
*
*
*
*
*
*
75
*
*----------------------------------------------------*
NUMBER:
5.12 *
* PROGRAM NAl1E: N_COMP
~CCOMP.PRG
**
*
*
*
*
*
*
*
*
*
*
*
*
*
*
CALLING PROGRAM (S) : NAME
PARANETER(S) : NONE
PROGRAM(S) CALLED: NONE
PARAMETER(S): NONE
PURPOSE: This module allows users to search for
a complainant matching the name they enter. If
more than one complaint has been filed by a
person with that name, then all the complaints
for that name will be printed. Only select
information from the complaint card is printed;
the user can see the entire record by using
the PRINT option under USE CURRENT RECORDS, then
choosing the COMPLAINT CARD option.
*
*
*
*
*
*
*
*
*
*
*
*
**
*
*
clear
set intensity on
store "
" to tlast
store "
" to tfirst
store " " to tmiddle
store " " to tcrnum
select 2
use master
select 3
use complain
@5,15 say "SEARCHING ON COMPLAINANT NAME"
@7,15 say "Enter last name:
"get tlast picture;
"! ! ! ! ! ! ! !! !! ! ! ! ! ! ! ! !!"
@8,21 say "first name:
"get tfirst picture "I!!!!!!!!!!!"
@9,21 say "middle: "get tmiddle picture "!"
read
@11,15 say "Search in progress • • • "
select 2
goto top
locate for tlast+tfirst+tmiddle = ;
lastname+firstname+middle .and. ;
identifier = "C"
do while .not. EOF()
store crnum to tcrnum
select 3
display crnum,complaint,date_rec for crnum = tcrnum
select 2
continue
enddo
wait
clear
@5,15 say "The database has no more complainants of that name."
wait
clear all
set intensity off
clear
return
76
* ___________
*
**
*
*
*
**
*
.v _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
PROGRArl ! NAI-1:E:
N_VIC'J'IM
NUMBER:
5.13
CAI.JL I NG PROG RAr-tl ( S) : NAME
PARAMETER(S): NONE
PROGRAM(S) CALLED: NONE
PARAMETER(S): NONE
PURPOSE: This module allows users to search on a
specific victim's name. If more than one entry
* for that name as a victim has been entered, all
* entries will be displayed. Only certain infor* mation about the report will be displayed. The
*
user can then print the report of the corres* ponding case report number for more information.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
**
*
clear
set intensity on
" to tlast
store "
" to tfirst
store "
store " " to tmiddle
store " " to tcrnum
select 2
use master
select 3
use incident
select 4
use case
@5,15 say "SEARCHING ON VICTHl NAHE"
@7,15 say "Enter last name: "get tlast picture;
" ! ! ! ! ! ! 1 II! ! ! ! ! 1 ! ! ! ! 1 "
@8,2l say "first name: "get tfirst picture "Ill!!!!!!!!!"
@9,2l say "middle: "get tmiddle picture "I"
read
@11,15 say "Search in progress • •• "
select 2
goto top
locate for lastname+firstname+middle = i
tlast+tfirst+tmiddle .and. i
identifier = "V"
do while .not. EOF()
store crnum to tcrnum
select 3
display crnum,inc_type,date_occ for crnum = tcrnum
select 4
display crnum,type_off,d_occ_earl,d_occ_late ;
for crnum = tcrnum
select 2
continue
enddo
wait
clear
@5,15 say "The database has no more victims of that name."
wait
clear all
set intensity off
clear
return
77
*
N_WIT.PRG
*----------------------------------------------------*
* PROGRAM NAME: N_WIT
** CALLING PROGRAM(S): NAME
*
*
NUMBER:
5.14
PARAMETER(S): NONE
PROGRAM(S) CALLED: NONE
PARAMETER(S): NONE
*
** PURPOSE:
*
*
*
*
*
*
*
*
This module allows users to search the
MASTER database for a specific witness name.
If more than one entry exists for a witness of
that name, then all entries for that witness
will be displayed. Only select information from
the report is printed. The user may get more
information by using the print report option and
printing the report of that case report number.
clear
set intensity on
store "
" to tlast
store "
" to tfirst
store " " to tmiddle
store " " to tcrnum
select 2
use master
select 3
use incident
select 4
use case
@5,15 say "SEARCHING ON WITNESS NAME"
@7,15 say "Enter last name: "get tlast picture
*
*
*
*
*
*
**
*
*
*
*
*
*
*
*
1
" 1 1 1 III ! 1 1 1 1 1 1 1 1 1 1 1 1 1"
@8,21 say "first name: "get tfirst picture "1!1111!1!!11"
@9,21 say "middle: "get tmiddle picture "I"
read
@11,15 say "Search in progress • • • "
select 2
goto top
locate for lastname+firstname+middle = 1
tlast+tfirst+tmiddle .and. 1
identifier = "W"
do while .not. EOF()
store crnum to tcrnum
select 3
display crnum,inc_type,date_occ for crnum = tcrnum
select 4
display crnum,type_off,d_occ_earl,d_occ_late 1
for crnum = tcrnum
select 2
continue
enddo
wait
clear
@5,15 say "The database has no more witnesses of that name."
wait
clear all
set intensity off
clear
return
78
* N_OFFEND.PRG
*----------------------------------------------------*
*
**
*
*
*
**
*
*
*
*
*
*
*
*
*
PROGRAM NAME:
N_OFFEND
NUMBER:
5.15
CALLING PROGRAM(S): NAME
PARAMETER(S): NONE
PROGRAM (S) CALLED: NONE
PARAMETER(S): NONE
PURPOSE: This module allows the user to specify
the name of an offender for which to search the
MASTER database. If more than one entry exists
offenders with that name, then all entries for
offenders with that name will be displayed.
Only select information from the report will be
displayed. The user may then get more information by using the print report option for that
case report number.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
clear
set intensity on
store "
" to tlast
store "
" to tfirst
store " " to tmiddle
store " " to tcrnum
select 2
use master
select 3
use case
@5,15 say "SEARCHING ON OFFENDER NAME"
@7,15 say "Enter last name: "get tlast picture 7
" 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1"
@8,21 say "first name: "get tfirst picture "111111111111"
@9,21 say "middle: "get tmiddle picture "I"
read
@11,15 say "Search in progress • • • "
select 2
goto top
locate for lastname+firstname+middle = 7
tlast+tfirst+tmiddle .and. 7
identifier = "0"
do while .not. EOF()
store crnum to tcrnum
select 3
display crnum,type_off,d_occ_earl,d_occ_late 1
for crnum = tcrnum
select 2
continue
enddo
wait
clear
@5,15 say "The database has no more offenders of that name. n
wait
clear all
set intensity off
clear
return
79
80
*
**
*
*
*
**
*
*
*
*
*
*
*
*
PROGRAM NAME:
N_SUSPEC
NUMBER:
5.16
CALLING PROGRAM(S): NAME
PARAMETER(S): NONE
PROGRAM (S) CALLED: NONE
PARAMETER(S): NONE
PURPOSE: This module allows the user to search
the MASTER database for a specific suspect name.
If more than one entry exists for a suspect of
that name, all entries for suspects of that name
will be printed. Only select information from
the report will be displayed. The user may then
get more information by using the print record
option for the specific case report number.
*
*
*
*
*
*
**
*
*
*
*
*
*
*
*
clear
set intensity on
store ft
"
to tlast
store "
" to tfirst
store ft " to tmiddle
store " " to tcrnum
select 2
use master
select 3
use incident
select 4
use case
@5,15 say "SEARCHING ON SUSPECT NAME"
@7,15 say "Enter last name: "get tlast picture;
" 1 1 1 1 II! 1 1 1 1 1 1 1 1 1 1 1 1 1"
@8,21 say "first name: "get tfirst picture "111111111111"
@9,21 say "middle: "get tmiddle picture "1"
read
@ll,l5 say "Search in progress • • • "
select 2
goto top
locate for lastname+firstname+middle = ;
tlast+tfirst+tmiddle .and. ;
identifier = "S"
do while .not. EOF()
store crnum to tcrnum
select 3
display crnum,inc_type,date_occ for crnum = tcrnum
select 4
display crnum,type_off,d_occ_earl,d_occ_late ;
for crnum = tcrnum
select 2
continue
enddo
wait
clear
@5,l5 say "The database has no more suspects of that name."
wait
clear all
set intensity off
clear
return
* N_MP.PRG
*----------------------------------------------------*
* PROORAM NAME:
**
*
*
N_MP
NUMBER:
5.17 *
CALLING PROORAM(S): NAME
PARAMETER(S): NONE
PROORAM(S) CALLED: NONE
PARAMETER(S): NONE
*
** PURPOSE:
*
*
*
*
*
*
*
*
81
This module allows the user to specifiy
the name of a missing person on which to search
the MASTER database. If more than one entry
exists for that name as a missing person, all
appropriate entries will be displayed. Only
select information from the report will be displayed. The user may then use the print report
option with the specific case report number to
get more information.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
clear
set intensity on
store "
" to tlast
store "
" to tfirst
store " " to tmiddle
store " " to tcrnum
select 2
use master
select 3
use incident
@5,15 say "SEARCHING ON MISSING PERSON NAME"
@7,15 say "Enter last name: "get tlast picture;
" 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1"
@8,2l say "first name: "get tfirst picture "111111111111"
@9,2l say "middle: "get tmiddle picture "1"
read
@11,15 say ·Search in progress • • • "
select 2
goto top
locate for lastname+firstname+middle = ;
tlast+tfirst+tmiddle .and. ;
identifier = "M"
do while .not. EOF()
store crnum to tcrnum
select 3
display crnum,inc_type,date_occ for crnum = tcrnum
select 2
continue
enddo
wait
clear
@5,15 say "The database has no more missing persons of that name."
wait
clear all
set intensity off
clear
return
* N_APPLIC.PRG
*----------------------------------------------------*
*
**
*
*
PROGRAM NAME:
N_APPLIC
NUMBER:
5.1S
CALLING PROGRAM(S): NAME
PARAMETER(S): NONE
PROGRAM(S) CALLED: NONE
*
PARAMETER(S): NONE
**
*
*
*
*
*
*
*
*
*
*
*
*
*
*
**
PURPOSE: This module allows the user to search
the MASTER database for a specific applicant's
*
name. If the applicant appears more than once, *
all appropriate entries will be displayed. Only *
select information from the report will be dis- *
played. If the user wants more information, he *
may use the print report option for the specific *
case report number.
*
*
clear
set intensity on
store "
" to tlast
store "
" to tfirst
store " " to tmiddle
store " " to tcrnum
select 2
use master
select 3
use incident
@5,15 say "SEARCHING ON APPLICANT NAME"
@7,15 say "Enter last name: "get tlast picture
" 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1"
1
@S,21 say "first name: "get tfirst picture "111111111111"
@9,21 say "middle: "get tmiddle picture "1"
read
@11,15 say "Search in progress • • • "
select 2
goto top
locate for lastname+firstname+middle = 1
tlast+tfirst+tmiddle .and. 1
identifier = "A"
do while .not. EOF()
store crnum to tcrnum
select 3
display crnum,inc_type,date_occ for crnum = tcrnum
select 2
continue
enddo
wait
clear
@5,15 say "The database has no more applicants of that name."
wait
clear all
set intensity off
clear
return
82
* N_RUN.PRG
*----------------------------------------------------*
*
**
*
*
*
**
*
PROGRAM NAME:
N_RUN
NUMBER:
5.19
CALLING PROGRAM(S): NAME
PARAMETER(S): NONE
PROGRAM(S) CALLED: NONE
PARAMETER(S): NONE
PURPOSE: This module allows the user to search
the MASTER database for a specific runaway's
name.
runaway's name appears more than
* once in Ifthethedatabase,
then all appropriate
* entries will be displayed.
Only select informa*
tion
will
be
displayed.
The
user may then use
* the print report options for the
specific case
* report number to see more information.
*
*
clear
set intensity on
" to tlast
store "
" to tfirst
store "
store " " to tmiddle
store " " to tcrnum
select 2
use master
select 3
use incident
@5,15 say "SEARCHING ON RUNAWAY NAME"
@7,15 say "Enter last name: "get tlast picture
*
*
*
*
*
*
*
*
*
*
**
*
*
*
*
1
" 1 1 1 1 1 1 I 1 1 1 1 1 I 1 1 III 1 1"
@8,2l say "first name: "get tfirst picture "11111111111!"
@9,2l say "middle: "get tmiddle picture "1"
read
@11,15 say "Search in progress • • • "
select 2
goto top
locate for lastname+firstname+middle = 1
tlast+tfirst+tmiddle .and. ;
identifier = "R"
do while .not. EOF()
store crnum to tcrnum
select 3
display crnum,inc_type,date_occ for crnum = tcrnum
select 2
continue
enddo
wait
clear
@5,15 say "The database has no more runaways of that name."
wait
clear all
set intensity off
clear
return
84
*----------------------------------------------------*
*
**
*
*
*
**
*
*
*
PROGRAf-t NAME:
ALL_CASE
NUHBER:
5.20
CALLING PROGRAM(S):
STA'l'US
NONE
PARAMETER(S):
NONE
PROGRAH(S) CALLED:
NONE
PA.RAII:lETER(S) :
This module uses the database CASESTAT
to search for all case reports which have an
active final status.
PURPOSE:
*
*
*
*
*
*
*
*
*
*
*
clear
set intensity on
select 3
use casesta.t
@5,15 say "SEARCHING ON ACTIVE FINAL STA'1'US n
@11,15 say "Search in progress • •• n
select 3
display all crnum for final_stat = "A"
wait
clear
@5,15 say "The database has no more active investigations."
wait
clear all
set intensity off
clear
return
*----------------------------------------------------*
*
*
*
*
*
*
**
*
*
*
PROGRAM NAME:
ALL_INC
NUMBER:
5.21
CALLING PROGRAf.l (S): STATUS
PARAMETER(S): NONE
PROGRAM(S) CALLED: NONE
PARAMETER(S): NONE
This module uses the INCIDENT database
to search for all incident reports with a final
status of "active."
PURPOSE:
*
**
*
*
*
**
*
*
*
clear
set intensity on
select 3
use incident
@5,15 say "SEARCHING ON ACTIVE REVIEW STATUS"
@11,15 say "Search in progress.
"
select 3
display all crnum for revrecstat = "A"
wait
clear
@5,15 say "The database has no more active investigations."
wait
clear all
set intensity off
clear
return
85
86
*----------------------------------------------------*
NUMBER:
**
*
*
*
*
*
*
*
*
5.22
CAIJLING PROGRAM (S) : STATUS
PARll,HETER (S) : NONE
PROGRAM{S) CALLED: NONE
PARAMETER(S) : NONE
PURPOSE: This module prompts the user to enter a
case report number. Using the database CASESTAT
the final status of the report is displayed.
*
*
*
*
*
*
**
*
*
*
clear
set intensity on
store "0000-000" to tcrnum
select 2
use cases tat
@3,5 say "SEARCHING ON REPORT NUMBF.R FOR STATUS"
@6,5 say "Enter a report number: "get tcrnum
read
@8,5 say "Search in progress • •• "
locate for crnum = tcrnum
if crnum = tcrnum
display final_stat
else
@13,5 say "The database has no report of that number."
endif
@16,15
wait
clear
set intensity off
clear all
return
*----------------------------------------------------*
* PROGRAM NAME: ONE_INC
NTJr1BER: 5.23 *
**
*
*
*
**
*
*
*
*
CALL I NG PROGRAM (S) : S'fA'l'US
PARAHE'I'ER. (S) : NONE
PROGRAlv'i (8) CALLED: NONE
PARAMETER(S): NONE
*
*
*
*
*
**
*
*
PURPOSE: ~rhis module prompts the user for a case
report number. The INCIDENT database is used to
display the final status for the report of that
number.
*
*
clear
set intensity on
store "0000-000" to tcrnum
select 2
use incident
@3,5 say "SEARCHING ON REPORT NUMBER FOR STATUS"
@6,5 say "Enter a report number: "get tcrnum
read
@8,5 say "Search in progress • •• "
locate for crnum = tcrnum
if crnum = tcrnum
display revrecstat
else
@13,5 say "The database has no report of that number."
endif
@16,l5
wait
clear
set intensity off
clear all
return
87
** ___________
~~
V_MAKE.PRG ~I
* PROGRA~l NAHE: V_f.JJAKE
** CALLING PROGRAM (S) : VEHICLE
*
PARAHETER(S): NONE
* PROGRAl'i(S) CALLED: NONE
_________________
*
**
*
*
*
*
PARAMETER(S):
_________ N
___________
NUMBER:
5.24
NONE
PURPOSE: ~rhis module prompts the user to enter
the make of the vehicle for which to search.
The CASE database is used to locate report
information matching the vehicle make.
*
*
*
*
*
*
*
*
*
*
*
*
*
clear
set intensity on
use case
store "
" to tveh_make
@3,15 say "SEARCH ON VEHICI,E r,1AKE"
@6,15 say "Enter vehicle make: "get tveh_make picture;
" !!!!!!"
read
@8,15 say "Search in progress • • ."
display all crnum,d_occ_early,d_occ_late,veh_color,veh-year,;
veh_model,veh_body,veh_lic-yr,veh_lic_st,veh_lic_no;
for tveh_make = veh_make
wait
clear
@4,15 say "The database has no more vehicles of this make."
@6,O
wait
clear
clear all
set intensity off
return
88
* V_COLOR.PHG
*----------_.y----------------------------------------*
*
**
*
*
*
**
*
PROGRAM
NAIY1r::
V_COLOR
NUHBER:
5.25
CALLING PROGRAM(S): VEHICLE
PARAl'1ETER(S} : NONE
PROGRAM{S) CALLED: NONE
PARAMETEH(S): NONE
*
*
*
PURPOSE: 'rhis module prompts the user for the
color of the vehicle for which to search the
CASE database. Pertinent information is displaYE~d •
*
*
*
*
*
*
*
*
*
*
*
*
clear
set intensity on
use case
" to tveh_color
store "
@3,15 say "SEARCH ON VEHICLE COLOR"
@6,15 say "Enter vehicle color: "get tveh_color picture;
"III"
read
@8,15 say "Search in progress •• "
display all crnum,d_occ_early,d_occ_late,veh_make,veh-year,i
veh_Inodel,veh_body,veh_lic-yr,veh_lic_st,veh_lic_no;
for tveh_color = veh_color
wait
clear
@4,15 say "The database has no more vehicles of this color."
@6
,0
wait
clear
clear GIl
set intensity off
return
90
*
V_YEAR.PRG
*
PROGRAM NAHE:
*----------------------------------------------------*
**
*
*
*
*
*
*
*
*
*
V_YEAR
NUfmER:
5.26
CALLING PROGRAM(S): VEHICLE
PARAMETER(S) : NONE
PROGRAf.l (S) CALLED: NONE
PARAHETER(S): NONE
PURPOSE: This module prompts the user for the
year of the vehicle for which to search the CASE
database. Pertinent information from reports
with that vehicle year is displayed.
*
*
*
*
*
*
*
*
*
*
*
*
clear
set intensity on
use case
store" "to tveh-year
@3,15 say "SEARCH ON VEHICLE YEAR"
@6,15 say "Enter vehicle year:
"get tveh-year picture;
" 99"
read
@8,15 say "Search in progress • •
"
display all crnum,d_occ_early,d_occ_late,veh_make,veh_color,;
veh_model,veh_body,veh_lic-yr,veh_lic_st,veh_lic_no;
for tveh-year = veh_year
wait
clear
@4,15 say "The database has no more vehicles of this year."
@6 ,0
wait
clear
clear all
set intensity off
return
* _______
*
**
*
*
*
**
*
*
*
*
~I
______
--------------------------------------*
PROGRAH NAJ'.1E:
V_H.ODEL
NUMBER:
5.27
CAIJLING PROGRAM (S) : VEHICLE
NONE
PARAMETER(S):
NONE
PROGRAM(S} CALLED:
PlI..RAHETER{S) : NONE
PURPOSE: This module prompts the user for the
model of the vehicle for which to search the
CASE database.
Pertinent information from
reports matching the vehicle model is displayed.
*
*
*
*
*
*
*
*
**
*
*
clear
set intensity on
use case
store "
" to tveh_model
@3,IS say "SEARCH ON VEHICLE MODEL"
@6,IS say "Enter vehicle model:
"get tveh_model picture;
"I!!!!!"
read
@8,15 say "Search in progress • • • "
display all crnum,d_occ_early,d_occ_late,veh_color,veh-year,;
veh_make,veh_body,veh_lic-yr,veh_lic_st,veh_lic_no;
for tveh_model = veh_model
wait
clear
@4,15 say "The database has no more vehicles of this model."
@6 ,0
wait
clear
clear all
set intensity off
return
91
* V_BODY.PRG
*----------------------------------------------------*
*
**
PROGRAM NAME:
V_BODY
NUMBER:
*
*
CALLING PROGRAM(S): VEHICLE
PARAMETER(S): NONE
PROGRAM(S) CALLED: NONE
PARAMETER(S): NONE
*
*
PURPOSE: This module prompts the user for the
body of the vehicle for which to search the
CASE database. Pertinent information from
reports with that vehicle body is displayed.
*
**
*
*
5.28
*
*
*
*
*
*
*
*
*
*
*
*
clear
set intensity on
use case
store ft
ft to tveh_body
@3,15 say "SEARCH ON VEHICLE BODy ft
@6,15 say ftEnter vehicle body: "get tveh_body picture;
"lll!ft
read
@8,15 say ftSearch in progress • • • ft
display all crnum,d_occ_early,d_occ_late,veh_make,veh_color,;
veh_model,veh-year,veh_lic-yr,veh_lic_st,veh_lic_no;
for tveh_body = veh_body
wait
clear
@4,15 say ftThe database has no more vehicles of this body.ft
@6 ,0
wait
clear
clear all
set intensity off
return
92
*
V_LIC_YR.PRG
*----------------------------------------------------*
NUMBER:
5.29
**
*
CALLING PROGRAM(S): VEHICLE
PARAMETER(S): NONE
* PROGRAM(S) CALLED: NONE
*
PARAMETER(S): NONE
**
*
*
*
*
*
PURPOSE: This module prompts the user for the
vehicle's license year for which to search the
CASE database. Pertinent information from
reports with a matching license year is displayed.
*
93
*
*
*
*
*
*
*
*
*
*
*
*
clear
set intensity on
use case
store" • to tveh_Iic-yr
@3,15 say "SEARCH ON VEHICLE LICENSE YEAR"
@6,15 say "Enter vehicle license year: "get tveh_Iic-yr picture7
"99"
read
@8,15 say "Search in progress • •• "
display all crnum,d_occ_early,d_occ_late,veh_make,veh_color,7
veh_model,veh_body,veh-year,veh_lic_st,veh_lic_no7
for tveh_Iic-yr = veh_Iic-yr
wait
clear
@4,15 say "The database has no more vehicles licensed in this year."
@6,O
wait
clear
clear all
set intensity off
return
*
V_LIC_ST.PRG
*----------------------------------------------------*
NUMBER:
**
*
*
*
**
*
*
*
*
5.30
CALLING PROGRAM(S): VEHICLE
PARAMETER(S): NONE
PROGRAM(S) CALLED: NONE
PARAMETER(S): NONE
PURPOSE: This module prompts the user for the
vehicle's license state on which to search the
CASE database. Pertinent information from
reports matching the license state is displayed.
94
*
*
*
*
*
*
**
*
*
*
*
clear
set intensity on
use case
store" "to tveh_Iic_st
@3,15 say "SEARCH ON VEHICLE LICENSE STATE"
@6,15 say "Enter vehicle license state: "get tveh_Iic_st picture;
" 11 "
read
@8,15 say "Search in progress • • • "
display all crnum,d_occ_early,d_occ_late,veh_make,veh-year,;
veh_model,veh_body,veh_lic-yr,veh_color,veh_lic_no;
for tveh_Iic_st = veh_Iic_st
wait
clear
@4,15 say "The database has no more vehicles of this" ;
+" license state."
@6,O
wait
clear
clear all
set intensity off
return
* V_LIC_NO.PRG
*----------------------------------------------------*
NUMBER: 5.31 *
**
*
*
CALLING PROGRAM(S): VEHICLE
PARAMETER(S): NONE
PROGRAM(S) CALLED: NONE
PARAMETER(S): NONE
95
*
*
*
*
*
*
PURPOSE: This module prompts the user for the
*
vehicle's license number on which to search the *
*
**
*
* CASE database. Pertinent information from
* reports with matching license numbers is dis* played.
*-------------- -----
*
*
*
*
clear
set intensity on
use case
store "
" to tveh_Iic_no
@3,15 say "SEARCH ON VEHICLE LICENSE NUMBER"
@6,15 say "Enter vehicle license number: "get tveh_Iic_no picture;
" ! 1 ! 1 1 1 1 II! ! 1 "
read
@8,15 say "Search in progress • • • "
display all crnum,d_occ_early,d_occ_late,veh_make,veh-year,;
veh_model,veh_body,veh_lic-yr,veh_color,veh_lic_st;
for tveh_Iic_no = veh_Iic_no
wait
clear
@4,15 say "The database has no more vehicles of this" ;
+" license number."
@6 ,0
wait
clear
clear all
set intensity off
return
*~~ _____________________ N
*
**
*
*
*
**
*
*
*
*
PROGRAH
NA~m:
____________________________
INV_SEAR
NUMBER:
5.32
CAI. . LING PROGRAM (S) : TYPE_ID
NONE
PARAMETER(S):
NONE
PROGRAM(S) CALLED:
NONE
PARAMETER(S):
PURPOSE:
This r(lodule searches the MASTER database
for names and case report numbers of involved
people with the code represented by the macro
INV_CODE.
clear
use master
@3,15 say "Search in progress • • • "
@5,O
display all lastname,firstname,middle, crnum for ;
identifier = "&inv_code"
wait
clear all
clear
return
*
*
*
*
*
*
*
**
*
*
*
*
*
DETAILS.FMT
97
@3,5 SAY nTO ENTER DETAILS, TYPE Ctrl-PgDn. n
@4,5 SAY nAFTER ALL DETAILS ARE ENTERED, TYPE <RETURN>, THEN Ctrl-End. n
@5,5 SAY nWHEN YOU RETURN TO THIS SCREEN, OR IF YOU DO NOT n
@6,5 SAY nWISH TO ENTER ANY DETAILS, PRESS <RETURN>.n
@8,5 SAY "DETAILS n GET DETAILS
*
NARRATIVE.FMT
@3,5 SAY "TO ENTER NARRATIVE, TYP~ Ctrl-PgDn."
@4,5 SAY "AFTER ALL LINES ARE ENTERED, TYPE <R~TURN>, THEN Ctrl-End."
@5,5 SAY "WHE:N YOU RETURN TO THIS SCREEN, OR IF YOU DO NOT"
@6,5 SAY "WISH TO ENTER ANY INFORMATION, PRESS <RETURN>."
@8,5 SAY "NARRATIVE:
"GET NARRATIVE
*
SUMMARIZE.Fr4T
99
@14,5 SAY "TO ENTER SUMMARY, TYPE Ctrl-PgDn."
@15,5 SAY "AJ:<'TER THE SUHHARY TS ENTERED, TYPE <RETUR.N>, THEN Ctrl-End."
@16,5 SAY "W~EN YOU RETURN TO THIS SCREEN, PRESS <RETURN>."
@18,5 SAY "SUi>1HARY" GErf SUf'H'lARY
100
FILE STRUCTURES
Structure for database: c:\police\case.dbf
Number of data records:
6
Date of last update
05/18/86
Field Field Name Type
Hidth
Dec
1 PAGE_Nm·l
Cha.racter
1
2 TOTAL_PGS
1
Character
3
CRNUH
Character
8
4 TYPE_:-JFF
Character
3
5 SUP_CORR
Character
40
6
RESPONSIBL Character
25
7 VTC_PHONE
Character
12
8 VIC_EPRON
Character
12
VIC_SEX
9
Character
1
10 VIC_RACF.
Cha.racter
1
1]
VIC_DOB
Date
A
12 VIC_AGE
Character
3
13 VIC_SSN
Character
11
14 VIC_INJURY Character
25
15 VIC_TREAT
Char.:acter
20
8
16 D_OCC_EARL Date
17 D_OCC_LATE Date
8
18 T_OCC_EARL Character
4
19 T_OCC_LATR Character
4
20
HOVCREPT
Character
10
21 TYPE_LOCAL Character
1
22 RBPT_BPHON Character
12
23 CA~1_LOCAL
Character
40
24 CITY_OFF
Character
12
25 TOWICOFF
]2
Character
26 COUNTY_OFF Character
12
27 s'rATE_OFF
Character
2
WTTNESS_YN Logical
28
1
29
TYPE_WIT
Character
1
WIT_PHONR
30
Character
12
31 WIT_BPRON
Character
12
32 \\TIT_INTVU
Logical
1
33 WIT_STTWI'
Logical
1
TYPE_WITB
34
1
Character
35 WI'l'B_PHONE Character
I?
36 Wl:TB_BPHON Character
12
37 WITR_.INTVU Logical
1
38 WT TB_STTI·1T Logical
1
]
39 SUSPF.:CT_YN Logical
40 SUS_NArJlED
Logical
1
41 SUS_KNOWN
Logical
1
]
42
SUS_LOCATJ
Logical
43 SUS_IDEN'T'D Logical
1
44 SUS_SEEN
Logical
1
45
SUS_DESCRB Logical
1
46 SUS_DOB
Date
8
47 SUS_SSN
Cha.racter
11
48 SUS_PHYS
Character
70
49 SUS_ID_BY
Character
J0
50 SUS_ARREST Logical
J
51 SUS_l\1UG
Logical
1
52 SUS_PRINT
Logical
1
53 SUS_RECORD Logical
1
SUSB_NAr,mD Logical
54
1
55 SUSB KNOWN Logical
1
56 SU SB--LOCAL Logical
1
57 S1:18B::r DENT I,ogical
1
58 SUSB__SEEN
Logical
1
59 SUSB DESCR 1.. 00 ical
1
101
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
11]
112
113
114
SlISB_DOB
STlSB_;3SN
STlSB_PHYS
SUSB_ID_BY
SUSB_ARRES
SUSB_i'4UG
SUSB_ PRINT
SUSB_RECOR
VEH- INVOLV
VEH_STOLEN
VEH_RECOVD
VEH - S~JSPC'J'
VEH_O'rHER
VIm - M.A..KF.
VIm- C:)LOR
VEH _YEAR
VEH_riDDEr.
VEH_BODY
VEH_LIC_YR
VEH_LIC_ ST
VEH_LIC_NO
VEH_H01,D
VEH- ID_NO
MO
SIGNIF _MO
S_L_DESCRP
LIMD_OPP
r'10TIVE
PROP_EVID
TRACE _PROP
PHYS- EVID
PHOTO
F - PRINT
EVID_O'I'HER
SCENE- '(lECH
SCENE_PE
PROP-.RECOV
COLL_EVID
WEAPON_DES
r.;rSS_.PROP
MPROP _DEBC
1"PROP- ID
i'.fPROP- VAL
j\,rSS_PROP2
TllPROP2 _DES
I'iPROP2_ID
fv1PROP2 VAL
r<l I 88-. PROP3
HPROP3 _DES
fI1.PROP3 ID
-
MPROP3 _VAL
IDACS
NCJC
TOT_HPROPV
TOT_RECVAJ..l
115 NARRATIVE
** Total **
Dat€'
Character
Character
Character
1,og ical
Logical
[,ogical
Logical
Logical
Logical
TJog icaJ
r,og ical
Logical
Character
Character
Character
Character
C.haracter
Character
Character
Character
Character
Character
Logical
T... ogical
Character
Logical
Character
T. . ogical
Logical
Logical
Logical
Logical
Logical
Logical
Character
Logical
rJog ical
Character
ChcHacter
Character
Character
Numeric
Character
Character
Character
Numeric
Character
Character
Character
Numeric
Logical
LogicaJ
Numeric
Numeric
Memo
R
11
70
10
102
1
1
1
1
1
]
1
]
1
6
3
2
6
4
/.
2
12
8
20
1
1
60
1
20
1
1
1
1
1
1
1
2
1
1
20
1
40
20
8
1
40
20
8
1
40
2
2
20
R
1
1
10
10
]0
994
2
2
?
Structure for database: c:\police\casestat,dbf
Number of data records:
5
Date of last update
05/18/86
Field Field Name Type
vlidth
Dec
1 eRNUH
Character
8
TNIT_S'l'A 'J'
?
Character
1
3
INIT- REC
Character
1
INIT- LN
4
Character
20
.:>
INIT- FN
Character
I?
6 INIT_I'n
Character
1.
7 INIT_PP.
Character
2
INIT_DATE
8
Date
8
9 SUP_STA'l'
Character
1
10 SUP- REC
Character
1
11 SUP - LN
Character
20
12 SUP- F'N
Character
12
13 SUP- rn
Character
1
14 STJP- PE
Character
?
15 SUP_DATE
Date
8
16 I:'NC_.REC
Character
1
17 I NVC_LN
Character
20
18 I NVC_. FN
Character
12
19 INVC_rU
Character
1
20 I NVC_PE
Character
2
21 I NVC_DATE
Date
8
22 FTNAL - STA'J' Character
1
23 AINV_.r~N
Character
20
24 AINV_.FN
Character
12
25 A I NV_J>11
Character
1
26 AI NV_.PE
Character
2
27 At NV_.DA,)~ F:
Date
8
**
'fot<:tl
**
187
103
Structure for database: c:\police\complain.dbf
15
Number of data records:
Date of last update
05/18/86
\-Jidth
Dec
Field Field Name Type
1 COMPLAINT
Character
30
8
2
CRWJM
Character
3 PE
Character
2
4 IM.TE_RgC
Date
8
5 TIMg_REC
Character
4
6 T.OCATION
Character
40
7 PHONE
Character
12
8 DETAILS
Memo
10
9 CAR_NUH
Character
2
10 CAR_NUM_A
Character
2
11 UNIT_NUM
Character
2
12 UlUT_NUM_A Character
2
13 C10_23
Character
4
14 CIO_24
Character
4
15 TYPE_REPOR Character
1
132
** Total **
104
105
Structure for database: c:\police\daily_re.dbf
Number of data records:
/.
Date of last update
05/18/86
vVidth
Field Field Name Type
Dec
8
1 CRNUM
Character
4
2 TIME_REC
Character
10
3 SUMMARY
Memo
:1.3
** '""('otal **
Structure for database: c:\po1ice\incident.dbf
Number of data records:
9
Date of last update
05/18/86
Field Field Name Type
Width
Dec
1 CRNUM
Character
8
2
PG_NUi'lj'
Character
1
3 TOTAL_PGS
Character
1
4 INC_TYPE
Characb::.r
3
5 SUP_CORR
Character
40
6
DATE_OCC
Date
8
7 TIME_DCC
Character
4
8 HOW_REPT
Character
10
9 TYPE_LOCAL Character
1
10 REPT_BPHON Character
12
11 CA!'>1_LOCAL
Character
40
12 CITY_INC
Character
12
13 COUNTY_INC Character
12
14 STATE_INC
Character
2
15 I NVA_PHONE Character
12
16 IliJVA_BPHON Character
12
]]
17 I NVA_SSN
Character
18 I NVA_DOB
Date
8
19 lliJVA_PHYS
Character
40
20
INVA_IDACS Logical
1
21 INVA_NCICS Logical
1
2?
TNVB_PHONE Character
I?
23 I NVB_BPHON Character
12
24
IlNB_SSN
Character
11
25
TNVB_DOR
Date
8
26 INVB_PHYS
Character
40
27
INVR_IDACS I,og ical
1
28 INVB_NCICS Logical
1
29 NARRATIVE
Memo
10
30 OJ1'F_LN
Character
20
31 OFF_FN
Character
12
]
32 OFF_MI
Character
33 DATE_RE?T
nate
8
34 OPF_PE
Character
2
35 RRV_LN
Character
20
36 RE!V_PN
Character
12
37 R8V_NI
Character
1
38 REV_PE
Character
?
39 DATE_REV
Date
8
40 REVRECSTAT Character
41 SrIPP_.Rgp
f,og ical
1
423
** Total **
106
Structure for database: c:\police\master.dbf
31
Number of data records:
Dqte of last update
05/18/86
Field Field Name Type
~Vidth
Dec
1 LASTNAME
Character
20
2 FIRSTNAME
Character
12
3 MIDDLE
Character
1
4 STREET
Character
20
5 CITY
Character
12
6 STATE
Character
2
7 ZIP
Character
10
8 IDENTIFIER Character
J
9 CRNUM
Character
8
87
** Total **
107
Structure for database: c;\police\suppleme.dbf
Number of data records:
4
Date of last update
05/18/86
Field Field Name Type
width
Dec
1 CRNUM
Character
8
/.
NARRATIVE
fiemo
10
** Total **
19
108
Structure fer database: c:\police\t_month.dbf
Number of data records:
] 10
Date of last update
05j18j86
Field Fiela Name Type
Width
Dec
1 TYPE_OFF
Character
3
2 r.rYPE_NA[l-H~
Character
]0
3 .JAN_COUNT
Numer ic
4
4 E<'F:B_COUNT
Numeric
4
5
MAi-{_COUN'I'
Numer ic
4
6 APR_COUNT
Numeric
4
7 MAY_COUNT
Numeric
4
8 JUN_COUN'l'
Numeric
4
9 JUL_CO(JN~'
Numer ic
4
10 AUG_COUNT
Numeric
4
11 SEP_COUWr
Numeric
4
12 OCT_COUNT
Numeric
4
13 NOV_COUwr
Numer ic
4
]4 DEC_COUNT
Numeric
4
15 DATE_.UPD
Date
8
** Total **
70
109
110
STRUCTURE CHARTS
o
level 1
I_~
I
level 2
level 3
__I
o
1
.--A '
I,
r
,I
/~lb\ r ~
5
level 4
,L
o 1 2 3 4 5 6 -7 8 9 10 1 7 1 2 3 14 15 16 17 18 19
-/
//'
~
r
-~~
r, , "
/
//
/
o
I
r
"'''-.
~
'1
I , ,
iii i r
I I
I II
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
iT
-"
-"
-"
112
I
..........
.
..-l
C\l
........
~
I
:::>
p...
H
:z:;
c::t:
~
-
..........
0
.
..-l
........
:z:;
H
c::t:
~
..........
0
.
C\l
........
:>-i
p::
E-i
:z:;
r:r:J
-
ENTRY (2.0)
CHECKCOM
lJ_. 0)
CHECKINC (3.1)
CHECKSUP (3.3)
CHECKCAS
( 3.2 )
TCRNUM
/TCRNUM
COMPLAIN
(4.0)
INCIDENT
(4.1 )
/TCRNUM
INC2
(4.2)
I
I TCRNUM
CASERPT
(4.3)
TCRNUM
J
I
CASE2
(4.4)
CASE3
(4.5)
'J'CRNUM
I
CASE4
(4.6)
TCRNUM
SUPPLEMN II
(4.7)
i
I
~
~
lAJ
MANIPULA (2.1)
ED I TMENU
(3.4)
EDITREC
(4.8)
PRINTMEN
(3.5)
TALLIES
(3.6)
SEARCH
(J. 7)
PRINTREC
(4 ___ 9)
.......
.......
.j::""
TALLIES (3.6)
1
SINGLE T
T4 .10)
VIEW T
(4.11)
DAILY SU
(4.f2")
START
HHEAD,B
FIND STA
(3.11 )
~
~
V1
SEARCH (3.7)
NAME
(4.13)
I
ALL CASE
(5-:-20)
ALL INC
(5-:-21)
(4.17)
(4.16)
(4.15)
I
VEHICLE
STATUS
CRIME
CRNO
(4.14)
I
I
ONE CASE
(5.22 )
TYPE ID
(4.18)
RANGE
(4.19)
:
l
ONE INC
(5-:-23)
INV SEAR
(5.j2)
-J.
-J.
0\
EDITREC (4.8)
TCRNUM
EDITCOM (5.0)
TCRNUM
EDITCASE
TCRNUM
EDIT INC (5.2
TCRNUM
EDITSUP (5.3)
(5.1 )
---"
-"
--.J
PRINTREC
(4.9)
TCRNUM
RESPONSE
TCRNUM
,..------0.-"""11
PRINTCOM
(5.4)
PRINT CAS
(5.5)
TCRNUM
RESPONSE
TCRNUM
RESPONSE
TCRNUM
RESPONSE
rrp-C-A-SE~12----
PCASE]
PCASE4
(5.6)
(5.7)
(5.8)
TCRNUM
TCRm~
PRINT INC
PRINTSUP
(5.9)
(5.10)
-"
-"
(X)
.-.
N CaMP
-(5.12)
-
N VICTIM
(5.13 )
N WIT
(S .14)
N- OFFEND
(5.15)
\
N SUSPEC
-(5.16)
N MP
(S.17)
N APPLIC
N RUN
T5.18)
(S.19)
......
......
\.0
VEHICLE (4.17)
V MAKE
TS.24)
V COLOR
TS.2S)
V YEAR
TS.26)
V MODEL
(3.27)
V BODY
TS.28)
V LIC YR
(3.29)
V LIC ST
TS.Jo)
V LIC NO
Ts. J1)
i
~--
......
o
I\.)
121
INDEX
*** The page numbers are preceded by "U" if cited from the
user manual. "SW denotes the system operation manual.
backup procedures S6
blanks U4
Caps Lock U3, Sl
daily summary report U12
database files S2, S4-7, SIOO
date fields U4
directory S2-4
editing reports UlO, U32, S7
entering reports UlO, U3l, U32
figures U14
file structures S98
floppies, usage US, S6
format files S97-99
hardware Sl
installation S2
interactive mode (dBASE III PLUS)
keyboard usage U4, U6, Sl
logical fields US
memo fiels U13
printing reports Ull, U32
program files S9-96
searching databases Ull
shutting down the system 08, S5
source code S9-99
spaces U4
starting up the system U8
structure charts SllO-120
system recovery S5, U34
testing S7
type of activity codes U36
09
Download