LABFORM
Additional details required for each articles submitted on the
previous form to the forensic science service and what it is that
is required to be proved.
LABITEMS
Records details of items submitted to the lab along with some
of the details of the previous two datafiles.
MAJORENT
The main data entry screen for items. Based around the majorinv
database where all items are stored, linked with the item movements.
MAJORINV
Similar in appearance to the MAJORENT.VW with the exception
of a few fields. Used in searching the database.
MOVEMENT
Each exhibit can be monitored independently, showing whether
it is in the store, or out being used in an enquiry.
PASSWORD
All persons authorised to use the system are maintained in this
database. This will usually only be the exhibits officer and
possibly the senior investigating officer (SIO).
PERSONS
Any person, complainant, deceased or victim is represented in
this database, again these details are utilised mainly by the
lab. related paperwork.
STAFF
Full details of the enquiry, nature, start date, end date, key
staff, pathologist and important telephone and address details.
STAFF1 and STAFF2
Two identical datafiles, each as a backup to the other but as
two separate datafiles it allows two 'data file lookups' to
be used on the same view. Data is only entered into one database
and then automatically synchronised with the other copy.
Many long time users of Smartware will recognise the above
program as originating with Andrew SCHWARTZ, author of
Smart Tips, Tricks & Traps. The program has undergone some
modification since this time and the version shown here was
written for Smartware V1.51. As such it suffers from 'screen
flashing' when using the 'suspend command'. We call the program
'simbrows'.
|
|
A more elegant version
using ANGOSS Smartware is to use the DBKEY command, the
syntax for which is shown below;
DBKEY {numeric}
For example the section of the 'simbrows'
program which reads as ;
elseif $key={PgDn}
suspend
keys PgDn,F8
jump retry
Can be replaced with;
elseif $key={PgDn}
dbkey({Down})
jump retry
This will then dispense with the flashing as a program suspends
and also results in smaller programs due to the reduced number
of program lines.
TWIDDLING AGAIN
The Major Investigation System is quite printer intensive due
to the nature of the reports it can generate and a lot of the
time work is being done behind the scenes of the user interface.
All the talk of 'twiddlers' set me to
work on ways of improving this and the next release of the system
will include a couple of enhancements.
Peter Singleton of FMI (our first supplier of Smartware back
in 1991) produced a twiddler for the August 1997 newsletter,
this reproduced on the 'code
page' in case you cannot find it.
The function is included as part of a query and is called on
each record change producing the twiddling effect. My version
(suing Peter's as a starter) produces a 'bar effect', and is
based upon another article submitted to the newsletter where
the query is 'done by hand' also.
If you try the examples you will also see that my
version (used under V2.65) can be passed parameters without
crashing, in the case shown, background and foreground colours.
|