home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / makedbf.zip / MAKEDBF.DOC next >
Text File  |  1987-09-15  |  6KB  |  111 lines

  1. TITLE:         MAKEDBF
  2. PURPOSE:       Create a dBASE III .DBF file without dBASE III
  3. DATE:          9/15/87
  4. AUTHOR:        Thomas A. Lundin
  5.                Graphics Unlimited Inc.
  6.                3000 2nd St. N.
  7.                Minneapolis, MN 55411
  8.                (612) 588-7571
  9.  
  10. DESCRIPTION:   MAKEDBF will create a dBASE III .DBF file and optionally import 
  11.                an ASCII text file into the newly-created structure.  The field 
  12.                specifications for the structure can be entered from the 
  13.                keyboard, or be taken from an ASCII file. 
  14.  
  15. OPERATION:     The command line invocation is:
  16.  
  17.                makedbf  input.txt  dbf  [spec.fil] ─┘
  18.  
  19.                where:    INPUT.TXT is the name of the optional ASCII text file 
  20.                          to be imported into the new structure.  If the input 
  21.                          filename is given as "NUL", no importing will occur 
  22.                          after the structure is created.
  23.  
  24.                          DBF is the extension that will be given the new 
  25.                          structure.  The full name of the structure is created 
  26.                          by taking the name of the input file and attaching a 
  27.                          .DBF extension to it.  If the input filename is 
  28.                          "NUL", the new file will always be named 
  29.                          "BLANK.DBF".  Of course, it can be renamed if you 
  30.                          wish.
  31.  
  32.                          SPEC.FIL is an optional ASCII file which contains 
  33.                          field specifications for the new structure.
  34.  
  35.                The import file must be a fixed-length ASCII text file, each 
  36.                record being terminated by a carriage return and line feed 
  37.                combination.  Short records will be blank-padded by the import 
  38.                routine.  Comma-delimited fields are not supported in this 
  39.                version.  There is NO VERIFICATION performed on the input data 
  40.                as it is imported; you'll have to use dBASE III for that.  
  41.                (Note: this import function is the equivalent of the dBASE III 
  42.                command APPEND FROM TXTFILE SDF.)
  43.  
  44.                The field specifications required by the program follow the 
  45.                standard dBASE convention of field name, field type, field 
  46.                length, and decimals, separated by commas.  If a specification 
  47.                file is not provided when the program is run, you will be 
  48.                prompted to enter the field specs from the keyboard.  The 
  49.                program will automatically store these specifications in a file 
  50.                named "FIELD.$$$", after it creates the new .DBF structure.  
  51.                You can retain this file for later use, rename it, or delete it 
  52.                if you wish.  The field specs may be entered as upper or lower 
  53.                case, and any spaces found within the specification lines are 
  54.                ignored.  The field types may be C (character), N (numeric), D 
  55.                (date), and L (logical).  Memo fields are not supported in this 
  56.                version.  Date fields are unconditionally assigned a length of 
  57.                8, and logical fields are unconditionally assigned a length of 
  58.                1.
  59.  
  60.                Examples:
  61.  
  62.                makedbf nul dbf ─┘
  63.  
  64.                     This will create a dBASE III database named BLANK.DBF 
  65.                     using field specifications entered from the keyboard.
  66.  
  67.                makedbf data.asc dbf data.fld ─┘
  68.  
  69.                     This will create a dBASE III database named DATA.DBF using 
  70.                     the field specifications contained in "data.fld" and will 
  71.                     import records from the file "data.asc".
  72.  
  73. NOTES:         The program must reside in a subdirectory defined in a PATH 
  74.                command, or it must reside in the current subdirectory.  (It 
  75.                reads itself for certain runtime parameters.)
  76.  
  77. MACHINE:       The program will run on any IBM PC/XT/AT series computer using 
  78.                MS-DOS 2.x or higher, with a minimum of 128K RAM.
  79.  
  80. DISCLAIMER:    This program is distributed as user-supported software.  Use it, 
  81.                copy it, give it to your friends.  No warranties, either 
  82.                expressed or implied, are given by the author or distributor of 
  83.                the program, and the user accepts all risk of damage arising out 
  84.                of the application and use of the program.
  85.  
  86. BEG:           If you find this program to be of value, contributions in any 
  87.                amount ($5 suggested) will be gratefully accepted.  All 
  88.                contributors who donate $10 or more will be mailed an expanded 
  89.                version of MAKEDBF when it becomes available which supports 
  90.                memo fields and importing of comma-delimited data files.
  91.  
  92.                Send comments/bug reports/contributions to:
  93.  
  94.                          ╔══════════════════════════╗
  95.                          ║     Thomas A. Lundin     ║
  96.                          ║ Graphics Unlimited, Inc. ║
  97.                          ║ 3000 Second Street North ║
  98.                          ║  Minneapolis, MN  55411  ║
  99.                          ║      (612) 588-7571      ║
  100.                          ╚══════════════════════════╝
  101.  
  102.                You can also reach me at my BBS home base:
  103.  
  104.                                 PC-ROCKLAND BBS
  105.                       If you can't find a program here,
  106.                           it probably doesn't exist!
  107.                                 (914) 353-2156
  108.                         (Leave msg. for "Tom Lundin")
  109.  
  110.                Thank you for using MAKEDBF.
  111.