home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows NT Super Tune-Up Kit
/
PIE-WindowsNTSuperTuneUpKit-1997.iso
/
CONVERTR
/
CREA_DB
/
CREATE11.DOC
< prev
next >
Wrap
Text File
|
1987-12-21
|
4KB
|
272 lines
CREATE
A dBase III+ (tm) DBF File Creation Utility
by
Douglas E. Welch
(C) December 1987
14539 Albers Street #2
Van Nuys, CA 91411
BIX : DWELCH
GENIE : DEWELCH
CIS : 76625,3301
Glendale Litera (818) 956-6164
1
Note:
There are no fancy disclaimers on this program. This program is
released into the PUBLIC DOMAIN. Please do not sell it or rip it
off as your own.
o Do NOT sell or alter the program in any way.
o Maintain this copyright notice at all times.
o Distribute only with all docs and code in a single ARC file.
If you feel that this program assists you in your work then
please feel free to send a $5.00 donation to the address listed
on the front cover of this document. If a commercial application
is desired then please contact me at the addresses listed above.
I cannot guarantee that this program will work under all
circumstances but I would like to hear of any bugs or added
functions that you might want. I cannot be held responsible for
any damage or los of data caused by this program.
Douglas E. Welch
2
CREATE 1.0 Documentation
(C) Copyright Douglas E. Welch
Introduction to Create
This CREATE utility was developed using Borland's Turbo Basic
BASIC Compiler. It was developed to allow programmers to create
dBase III+ (tm)/ Foxbase+ (tm) DBF files without actually having
a full version of these programs. This allows the programmers to
deliver their applications as a runtime application without
having to provide every database that will be needed. The
program utilizes a data input file created by the programmer
which takes up much less space than a series of individual DBF
files.
Usage Summary
- Enter CREATE at the DOS prompt
- Enter CREATE <filename> to bypass the Input File : prompt
Installation
CREATE requires no installation. It should operate correctly on
most PC's or PC clones.
3
Data File Format
The data file format is straight-forward. It contains the
information usually contained in a DBF file. The data file can
contain definitions for several DBF files. This would allow all
the databases for a given application to be contained within one
text file. There is no required filename for the definition
file. This allows the programmer to give the definition file a
name which relates to their application.
The MEMO Field is included to allow the proper creation of databases
which have memo fields. It also creates the .DBT file needed to
hold the MEMO data.
The file should be created with any ASCII word processor or
Wordstar in the Non-document mode.
Name of Database to be created
Memo Fields Used (Y/N)
Total Character Count of DBF File
Number of Fields in DBF File
Field Name, Field Type, Field Width, Decimal Number
etc... (continue other definitions here.)
Note: All field definition lines should contain 3 commas, even if
the last item is blank.
Example Definition File
-----------------------
TEST1.DBF
N
82
5
NAME,C,25,
ADDRESS,C,25,
CITY,C,20,
STATE,C,2,
ZIP,C,10,
TEST2.DBF
N
41
4
FIELD1,C,10,
FIELD2,N,5,2
FIELD3,L,1,
FIELD4,C,25,
4