home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
dbase
/
fixdbf.zip
/
FIXDBF.DOC
< prev
next >
Wrap
Text File
|
1993-04-02
|
3KB
|
65 lines
1. Summary
FIXDBF.EXE is a Turbo Pascal program which allows the user to edit the header
record and field sub-records of a dBASE / FoxBASE+ / FoxPro type DBF file.
These functions are particularly intended for repair of damaged DBF files.
2. Execution
To perform a fix, type FIXDBF. You will be prompted for the file name to
fix. You may specify any valid DOS path and filename. The DBF extension
is required. After specifying the filename, the database structure will
be displayed. You may edit any of the field subrecord parameters (name,
length, type, decimals). After viewing (modifying) the structure, the
record size and field offset is internally recalculated. Next, the data
records are displayed based upon the structure given and the "first record
offset" byte. The data may appear shifted to the left or right, may be
garbage, or may appear OK. You can alter the first record offset by shifting
the data left or right a specified number of bytes. You can also page
through the data to view damaged areas of the file. When you are done
viewing the data, you will be asked to confirm saving the changes. You can
then specify a file to copy the new structure to (the DBF extension is
required). The file will be created using the new header parameters and
the old data.
3. Common Problems
Typically, a trashed database is the result of a hardware or network failure
during a record update or append. In the case of an append, the database
will have more records in it than the header indicates. In the case of an
update, an incomplete header record may have been written or the database
type byte may be corrupted. Many times, the data may appear completely
correct and simply running the program and accepting the defaults may be
all that is needed. In some cases, a partial record may be left behind
from a crash - this case is handled by adding blanks to pad to the end of
a full record. Always take a backup and always work on a copy - a failing
hard disk or network is likely to fail again!
4. License
User is entiteled to an unlimited, non-commercial license of this software.
You may freely distribute unmodified copies. Author reserves copyright
to source code and decompilation is expressly prohibited.
5. Warranty
No warranties, express or implied, are given with this software. Author
assumes no risk for use of the program including loss or corruption of data.
Execution of the program implies consent of the user to these terms.
6. Revision history
02-26-93 Baseline product
03-01-93 Enhancement to file copy to increase speed
If you find this product useful and would like to become a registered user
(includes TP 5.0 source code, manual, one year 800# support and updates),
send $25 (personal) or $45 (commercial) to:
Radiance Computer Company
18 Valley CT, #18B
Branford, CT 06405
800/435-3044
CIS (71652,516)
- All comments / requests acknowledged! -