home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
DBV.DOC
< prev
next >
Wrap
Text File
|
1994-04-06
|
7KB
|
186 lines
DBV-DBF View, Version 1.23 06-Apr-94
Simple viewer/editor for dBASE-compatible .DBF files. Switch between record
and browse modes. Does single-field, scan-across searches. Editing of
fields enabled by command-line switch. May be used to search a directory
for .DBF files regardless of filename extension (/F2). Freeware.
Contents:
=========
Disclaimer
Purpose
Display
Syntax
Switches
Configuration
Commands
Background
Possible future enhancements
User support
Contact
Disclaimer:
===========
DBF View (DBV) and this documentation are offered as is. The user bears the
entire risk of this software not performing as expected.
Purpose:
========
For taking quick looks into .DBF files without having to load a
full-featured database program.
By user request, field editing has been incorporated into the program
starting from Version 1.20. Editing is enabled by command-line switch (see
"Switches" below).
DBV is a generic .DBF file viewer/editor. As there are different types of
index files, these are ignored in searches and editing.
Display:
========
The program displays either in color or "black-and-white" based on the video
mode at program start-up. However, if the user has a color graphics card,
but no color monitor, the display may be improved by using the DOS command
"MODE BW80". Conversely, color mode may be forced on by using "MODE CO80".
A command-line switch is also available to force black-and-white mode. See
"Switches" below.
EGA/43- and VGA/50-line modes are supported. At program start-up, an
attempt is made to detect the actual number of lines on the screen, up to a
maximum of 50, and to adjust the display accordingly.
Syntax:
=======
Usage: DBV [switches] [filespec]
If no extension is specified for "filespec", ".DBF" is assumed. If a valid
filename is specified unambiguously, the file is immediately displayed.
Either specifying "filespec" using wildcards, or specifying a drive or
directory name causes a scrollable directory window to pop up. Simply
typing the program name is the same as specifying "*.DBF".
Examples: DBV C: <- current directory of drive C:
DBV D:\ <- root of drive D:
DBV \DBASE\DATA <- data subdirectory of \DBASE
Switches:
=========
/BW Black-and-White mode. Provided as an alternative to using DOS's
"MODE BW80" command.
/E enable field Edit. Index files are ignored, and will have to be
maintained by the user.
/Fx Where 'x' represents 0/1/2, as follows:
F0 - don't filter (fastest)
F1 - check only for files with the .DBF extension (default)
F2 - check all files for valid dBASE files (slowest)
/W start program in Wide (browse) mode.
Either '/' or '-' may be used to specify switches.
Entering an invalid switch causes the program to display a brief help screen
then exit.
Examples: DBV /h
DBV -?
Configuration:
==============
An optional configuration file containing user-selected default switches may
be created or edited with any editor or word processor which can save pure
ASCII text files. This file should be named "DBV.CFG" and placed in the
same directory from which DBV.EXE is loaded (DOS 3.0 and above).
Switches, including switch options, may either be separated by spaces or
placed on separate lines.
Incompatible switches used on the command line will override switches
included in DBV.CFG. Switches are evaluated from left to right on the
command line.
A sample DBV.CFG file is included in the distribution archive for DBV.
After extracting the contents of the distribution archive, DBV.CFG may be
deleted if DBV's defaults are satisfactory.
Commands:
=========
<F1>, or the letter 'I', will display overall information on the .DBF file.
<F2>, or the letter 'F', will display general information on each field.
<F3>, or the letter 'E', allows one to edit the current field. This option
is only available if the /E switch has been specified on the command line or
included in DBV.CFG (see "Configuration" below).
<F4> will toggle between Browse and Record modes.
<F5>, or the letter 'G', opens up an input window into which you can type
the (sequential) number of the record you wish to jump to.
<F7>, or the letter 'S', will allow a forward search for the input string.
This search is of the "scan-across" variety, i.e. the search will include
embedded strings. New searches start from the first record.
<Ctrl-S> will continue a search initiated with <F7>. (New)
<F10>, <Esc>, or the letter 'Q', will quit the program.
The <PgUp>, <PgDn>, <Home>, <End> and arrow-keys, possibly used in
conjunction with the <Ctrl> key, will hopefully have the intuitive effects.
When in Browse mode, either <Tab> or <Right-Arrow> will move right one field
at a time. <Shift-Tab> and <Left-Arrow> will have the opposite effect. The
<Ctrl> key, used in combination with the left- and right- arrow keys will
page left and right, respectively.
When in Record mode, and highlighted field's actual length is longer than
the displayed width (signaled by the '»' character), <Right-Arrow>,
<Left-Arrow>, <Home> and <End> may be used to scroll through the field.
Background:
===========
I wrote DBV to test my understanding of .DBF file structure. A pre-release
version of DBV allowed field editing. I disabled this feature before the
first public release because I was inconvenienced by having to rebuild my
multi-field index files with my regular database program, after editing with
DBV.
A few users have requested that I add field editing to DBV. They don't seem
to mind having to maintain their own index files. Although I would have
preferred leaving DBV as a simple viewer, adding editing back was simple, as
I already had the required routines at hand. I've decided that, for now at
least, editing would be enabled only by specifying the appropriate switch.
Possible future enhancements:
=============================
I'm considering adding the capability to mark and unmark records for
deletion (packing) by some other program.
I'm also considering adding the capability to search for records marked for
deletion.
User support:
=============
I'm only one person writing freeware on a limited budget during my spare
time. As full-featured database programs are enhanced, it's possible
(almost likely) that changes in the file structures of their respective .DBF
files may cause DBV not to recognize these files, or at least to
misinterpret certain information.
I have neither the time nor resources to personally keep abreast of updates
to the different database programs on the market. Thus, I'm asking that
users of DBV do their part by reporting any changes in file formats to me.
Contact:
========
Raymond T. Kaya CompuServe: 71230,2500
P. O. Box 1436 Internet: 71230.2500@compuserve.com
Honolulu, HI 96806