home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Shareware Masterblend
/
cdsharewaremasterblend.iso
/
mail
/
doc-data
/
manual3
< prev
next >
Wrap
Text File
|
1990-05-30
|
50KB
|
969 lines
DOCTOR DATA Label v5.0 User's Manual Page 38
-----------------------------------------------------------------
DATABASE sub-menu
-----------------------------------------------------------------
The DATABASE sub-menu consists of five commands: CREATE FILE,
IMPORT FROM, EXPORT TO, SELECT FILE, and CLOSE FILE.
-----------------------------------------------------------------
CREATE FILE
-----------------------------------------------------------------
The purpose of this command is to create a new database file in
which to store records. Selecting this command will prompt you
for a file name to call the database. Type a name for the new
database and press <Enter>. Do NOT enter a filename extension.
The database file created is dBASE III compatible.
DATABASE FILE STRUCTURE
The following is a list of the fields used in DOCTOR DATA Label:
NAME USED IN PROGRAM ACTUAL REAL NAME TYPE WIDTH
-------------------- ---------------- ---- -----
CAR-RT SORT CR Character 7
Comments COMMENTS Character 39
Pre PREFIX Character 4
F FIRST Character 13
MI MIDDLE Character 1
L LAST Character 15
Suf SUFFIX Character 5
Date REC_DATE Date 8
Company Name COMPANY Character 35
Title TITLE Character 14
Bldg/Mall/Etc. ADD1 Character 35
Street Address ADD2 Character 35
City CITY Character 21
State STATE Character 2
Zip ZIP Character 10
AC AC Character 3
Phone PHONE Character 8
Ext. EXT Character 4
Account # ACCOUNT Character 17
USER DEFINED CODE1 Character 4
USER DEFINED CODE2 Character 4
USER DEFINED CODE3 Character 4
Notes NOTES Memo 10
DOCTOR DATA Label v5.0 User's Manual Page 39
-----------------------------------------------------------------
IMPORT FROM
-----------------------------------------------------------------
The purpose of this command is to IMPORT records FROM another
DOCTOR DATA Label database file or ASCII DELIMITED file to the
currently selected database. ASCII is pronounced "ask-key".
Selection of this command will present you with another menu
allowing the selection of either DDLABEL or DELIMITED.
DDLABEL ---------------------------------------------------------
This command is for the purpose of IMPORTing another database
created by DOCTOR DATA Label into the currently selected
database. This allows you to combine several small database files
into one file.
After selection, you will be prompted to enter a path. The path
is optional. It will allow you to import from another drive
and/or directory. If the import file is located in the current
drive and/or directory, the path may be left empty. If using a
path, it must end with a "\". After selection, a directory of
files will appear for you to select from. A database without the
corresponding "DBT" file will NOT display in the window for
selection. See SELECT FILE command for more on "DBT" files.
IMPORTANT: If Marked records are turned OFF, Marked records in
the IMPORT file will NOT be imported. See the Alt-Marked command
under the EDIT/ADD RECORDS command.
DELIMITED -------------------------------------------------------
This command is for the purpose of IMPORTing ASCII DELIMITED
files into the currently selected database file. See the GLOSSARY
command for information on ASCII DELIMITED files.
If you do NOT know the order in which the fields appear in the
ASCII DELIMITED file you will need to exit DOCTOR DATA Label to
view the file with the DOS "TYPE" command or with a text editor
making note of the order in which the fields appear.
After knowing the order in which the fields appear in your ASCII
DELIMITED file you may begin the IMPORT process. Upon selecting
this command, you will be prompted to enter a path. The path is
optional. It will allow you to import from another drive and/or
directory. If the file to be IMPORTed is located in the current
drive and directory, the path may be left empty. If using a path,
it must end with a "\". After pressing <Enter>, a directory of
files with a TXT filename extension will appear for your
selection. If your ASCII DELIMITED file(s) do NOT already have a
DOCTOR DATA Label v5.0 User's Manual Page 40
TXT filename extension you may rename them with the FILE MNGMT
command located under the TOOLS sub-menu. Note that any SELECTed
database will need to be CLOSEd before renaming a file.
After selecting the file to IMPORT, you will be prompted to
select letters <A> through <V> corresponding to the fields in the
DOCTOR DATA Label database. These fields need to be selected in
the order in which they appear in your ASCII DELIMITED file. This
will cause the data to be imported into the correct fields. Take,
for example, the following ASCII DELIMITED record:
"Mark","Jones","123 Main Street","Anytown","Anystate","00000"
To IMPORT this file correctly you would select the following
fields in the order specified:
First Name (D), Last Name (F), Street Address (L), City (M),
State (N), and Zip (O)
When finished, press <Enter> to IMPORT the records.
-----------------------------------------------------------------
EXPORT TO
-----------------------------------------------------------------
This command will allow you to copy the records in the currently
SELECTed database, filtered or not filtered, to a new database by
selecting either the DDLABEL (DOCTOR DATA Label database) or
DELIMITED (ASCII DELIMITED database) commands. See the GLOSSARY
for information on ASCII DELIMITED files.
Upon selecting a command, you will be prompted for the drive and
directory in which to EXPORT the file. To export to the current
directory the path may be left blank. If you specify a path, end
it with the "\" character. You will then be prompted for a
filename to call the new database. If you specify a name that is