home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
disk_20.zip
/
DB3DOC_2.ZIP
/
DB3DOC_2.DOC
next >
Wrap
Text File
|
1986-02-28
|
3KB
|
43 lines
Discussion of DB3DOC revision 2.
Prepared by Carl Slutter February 28, 1986
Our business maintains a 10 megabyte data base consisting of approximately 450
fields. This information had been maintained on a mainframe, but the need to
make it readily available for analysis dictated that it be transferred to micro
computers. dBase III was chosen as the preferred data base manager and the
original was split into 4 files to fit within the field limit of dBase III. We
soon became aware of the fact that certain fields from each of the files were
accessed more frequently than others, so a summary file of about 2 megabytes
was created using fields from each of the existing files. This summary file
had 72 fields. From time to time, computed fields have been added to meet the
needs of clients, and the file has grown to 93 fields.
In looking for a good means of documenting the file, we discovered the fine
program DB3DOC written by Steve Aidikonis. This filled a need by allowing the
addition of a more detailed description of each of the fields. The next time
the file was revised and documentation prepared, it became obvious that we had
to type in all of the descriptions again. In addition, we found that DB3DOC
would only support a database with a maximum of 89 fields. Therefore, I
decided to revise the program to allow storing the field descriptions to a
memory file which could be recalled and also to allow more than 89 fields. The
revision was tested on smaller data bases and worked as expected. However,
when the larger file was used the first nested loop caused the program to crash
with the message "Mismatched do while and enddo." The solution was to place
each of the previously nested loops in a procedure file. I did not have the
time to attempt to determine at what number of fields the program failed to
function. If anyone can explain this to me, I would appreciate receiving the
information. You can leave a message for me on the Darwin BBS (301) 251-9206
or send the information to Post Office Box 111, Clarksville, Md. 21029.
These revisions were written "on the fly" so the coding is not as tight as it
could be. It should be noted that the revisions were written in dBase III Plus
and use some of the string functions of that version. (To make it easier to
follow, the original program is in upper case and all of my revisions are in
lower case). Revision for use with dBase III 1.x should be a trivial matter.
I have found the increased capacity of DB3DOC to be valuable to me and hope
that it will be of help to someone out there.