home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 2.13
/
1997-02_Disc_2.13.iso
/
patches
/
fsfs501.exe
/
FLTSHP.EXE
/
FSFSIMP.TXT
< prev
next >
Wrap
Text File
|
1996-01-31
|
6KB
|
132 lines
======================================================
Flight Simulator Flight Shop - Database Import Utility
======================================================
Copyright (c) 1995 by Robert M. MacKay - ALL RIGHTS RESERVED
This utility and its associated files may only be distributed via
on-line services that are authorized by Robert MacKay. These services
include the MicroWINGS WEB page, CompuServe FSFORUM, MSN, AOL FSRC,
and the FTP.IUP.EDU internet FTP site. To request authorization to
distribute these files, send internet email to fltsim@microwings.com.
======================================================
Installation
------------
To install, simply unzip the files in FSFSIMP.ZIP into your FLTSHOP
directory.
How To Use The Importer
-----------------------
The importer works by reading data from a fixed record length ASCII file
and adding the data to the database.
The Data Files
--------------
The file LAYOUT.TXT provides the specs for the layout of the data files.
Since these are fixed record length files, no TAB or comma or quotation
mark type delimeters are needed (in fact they will likely cause errors).
A seperate file is needed for each Flight Shop ATC database class:
1) NavAids (VOR, NDB, Intersection, Reporting Point, VFR Reference, etc.)
2) Airports
3) Runways and associated ILS information
The User Interface
------------------
The "Import What" group box allows you to specify which type of data you
are going to import. Be sure this option is correctly set before pressing
the IMPORT button, otherwise you will be in for alot of import errors as
the program attempts to add the data.
The "From Where" group box allows you to find and select the file that
contains the data you want to import. Be sure the data file is of the same
type selected in the "Import What" group box.
The "Records Processed Successfuly" listbox will display the last 48k-64k
worth of successful import messages. As each record is added successfully,
an entry of the record is logged in this list box. If more than 64k worth
of entries are logged, the program will automatically cut out the first 16k
to make room for more entries (and to prevent an overflow error). After the
import process is complete, you can print the contents of this list box by
double clicking on it.
The "Records with Problems/Errors" listbox will display the last 48k-64k
worth of records that could not be imported due to a problem or error of
some kind. As each record with a problem is found, an entry of the record
is logged in this list box. If more than 64k worth of entries are logged,
the program will automatically cut out the first 16k to make room for more
entries (and to prevent an overflow error). After the import process is
complete, you can print the contents of this list box by double clicking
on it.
The Import Process
------------------
As each record is read from the data files, the program first attempts to
be sure that all the data read is valid. If it is not, it will log an entry
into the "Records with Problems/Errors" list box and will *not* add the
record.
If all the data is considered valid, then the program will attempt to add it
to the database. If there is no other entry already in the database, with
the same Identifier, then the record should get imported without any
problems.
If the Identifier turns out to be already in the database (i.e. not unique),
then the program will take the first letter of the STATE/COUNTRY field and
add it to the Identifier (ex. [SFD in the UK] would become SFDU). The
program will then try to again add the record with the modified Identifier.
If it fails again due to the Identifier not being unique, then the program
will add the second letter of the STATE/COUNTRY field (ex. Our SFDU would
now become SFDUK). The program will then try to again add the record with
the modified Identifier. If it fails this second time, then the record is
skipped and a message stating the various attemps is logged in the
"Records with Problems/Errors" list box. If the added letter(s) works and
the Identifier is now unique, then the record is added to the database and
an entry is made in the "Records Processed Successfuly" listbox, stating
what the Identifier had to be changed to in order to import successfuly.
IMPORT Button
-------------
When you have selected your file and selected the appropriate Import What
option... you then press the IMPORT button to start the import process. You
will first see a warning box alerting you that there is *NO* undo feature.
As such, you are strongly urged, before *every* import attempt, to back up
your ATC database (FSFSDB.MDB in the FLTSHOP directory).
If the two "Records..." list boxes have any text in them, you will then be
asked if you want to have the program clear them before starting or to just
append the import messages to what is already present in the list boxes.
Finally, the program will begin importing the data. You will see a status
message in the program's Title Bar counting the number of records processed.
In the list boxes, you will see the status of each record as it is added or
skipped (due to problems/errors).
When the Title Bar indicator says DONE. Then the import process has finished.
At this point you can continue and add additional data/files, print the
contents of the list boxes, or Exit.
WARRANTY
--------
This program is provided as is. No warranty is provided, implied or express,
regarding performance, merchantability, fitness for a particular purpose,
operation, or data loss. By using this software, the user assumes all risks
and liabilities with regard to any loss arising out of the use of this
software.
Support
-------
It is hoped that this readme file will provide sufficient information to
enable the use of this software. Established support is not available for
this product as it is provided free of charge and is considered to be a
utility. However, in case the author is available and has time to help out,
questions can be posted on the MicroWINGS WEB Page's MESSAGE BOARD, and also
on the CompuServe FSFORUM.