home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / dbase / fixdbf.zip / FIXDBF.DOC < prev    next >
Text File  |  1993-04-02  |  3KB  |  65 lines

  1. 1.  Summary
  2. FIXDBF.EXE is a Turbo Pascal program which allows the user to edit the header 
  3. record and field sub-records of a dBASE / FoxBASE+ / FoxPro type DBF file.  
  4. These functions are particularly intended for repair of damaged DBF files.
  5.  
  6.  
  7. 2.  Execution
  8. To perform a fix, type FIXDBF.  You will be prompted for the file name to
  9. fix.  You may specify any valid DOS path and filename.  The DBF extension
  10. is required.  After specifying the filename, the database structure will
  11. be displayed.  You may edit any of the field subrecord parameters (name, 
  12. length, type, decimals).  After viewing (modifying) the structure, the
  13. record size and field offset is internally recalculated.  Next, the data
  14. records are displayed based upon the structure given and the "first record
  15. offset" byte.  The data may appear shifted to the left or right, may be
  16. garbage, or may appear OK.  You can alter the first record offset by shifting
  17. the data left or right a specified number of bytes.  You can also page 
  18. through the data to view damaged areas of the file.  When you are done 
  19. viewing the data, you will be asked to confirm saving the changes.  You can
  20. then specify a file to copy the new structure to (the DBF extension is 
  21. required).  The file will be created using the new header parameters and 
  22. the old data.
  23.  
  24.  
  25. 3.  Common Problems
  26. Typically, a trashed database is the result of a hardware or network failure
  27. during a record update or append.  In the case of an append, the database
  28. will have more records in it than the header indicates.  In the case of an
  29. update, an incomplete header record may have been written or the database
  30. type byte may be corrupted.  Many times, the data may appear completely
  31. correct and simply running the program and accepting the defaults may be
  32. all that is needed.  In some cases, a partial record may be left behind
  33. from a crash - this case is handled by adding blanks to pad to the end of
  34. a full record.  Always take a backup and always work on a copy - a failing
  35. hard disk or network is likely to fail again!
  36.  
  37.  
  38. 4.  License
  39. User is entiteled to an unlimited, non-commercial license of this software.  
  40. You may freely distribute unmodified copies.  Author reserves copyright
  41. to source code and decompilation is expressly prohibited.
  42.  
  43.  
  44. 5.  Warranty
  45. No warranties, express or implied, are given with this software.  Author
  46. assumes no risk for use of the program including loss or corruption of data.
  47. Execution of the program implies consent of the user to these terms.
  48.  
  49. 6.  Revision history
  50.         02-26-93        Baseline product
  51.         03-01-93        Enhancement to file copy to increase speed
  52.  
  53.  
  54. If you find this product useful and would like to become a registered user 
  55. (includes TP 5.0 source code, manual, one year 800# support and updates), 
  56. send $25 (personal) or $45 (commercial) to:
  57.  
  58. Radiance Computer Company
  59. 18 Valley CT, #18B
  60. Branford, CT  06405
  61. 800/435-3044
  62. CIS (71652,516)
  63.  
  64.                   - All comments / requests acknowledged! -
  65.