UNDERSTANDING DATA FILES
| DATABASE FILES | |
| DB2000 is intended to be used by individual members. It is
not intended to be like a terminal, where all users use a common database. Because of the
various ways individual databases can be customized by the user, each one will be somewhat
different in ways that cater to the individual user's need. This is one of the program's
strengths. This brings about the problem of how to synchronize the data squadron wide. Some squadrons pass copies on a master database, but as explained above, this limits the flexibility of the system. A far nicer approach would be as follows:
Distributing a master database file can have nasty repercussions. A true case is reported where the squadron procedure is to pass copies of a master database to other users. When the user responsible for merit marks copied it to his hard drive he overwrote his older version which had contained his MM recommendations. He was understandably upset and created new recommendations from scratch, which took a long time. If he had understood how the database and other data files work he could have easily avoided this. But first, we see here why this method is bad. When updating is done internally in DB2000, a backup trail is established and older database versions can easily be restored. When you update by copying a database externally, this doesn't happen. In the example sighted, the easiest way to have restored the merit marks would have been to import the MM data file, which is automatically maintained by DB2000. This would have taken just a few seconds. The user obviously didn't know of its existence.
|
|
| USER DEFINED FIELDS | |
![]() |
One of the most powerful features of DB2000 is the ability
to define fields for the user's needs. This feature cannot be supported if the squadron
procedure is to try to have a common database. If a user defined field is deemed
desirable on a squadron wide basis, it can be exported. The resulting file is in csv, comma separated value, format. It contains the field description and the field content. If this file is imported into another database, the program checks to see if the field already exists. if not, it creates the field and then fills it from the file content. The certificate numbers in the file are checked against those in the target database. If any of these is not resident then that record is not included.
|
| MERIT MARK DATA FILES | |
| In any DB2000 session, if changes are made to the merit mark recommendations, a file is automatically saved on exit from the program. This file is named "MMxxx.dat", where xxx is the squadron code. This is the current data file and can be passed to other members or used to restore a lost database. This file can be imported into another members copy of DB2000 without the need to provide the entire database. This is necessary so that users may keep their own database version which may contain information peculiar to that user. | |
![]() |
To import a MM file, open the import dialog from the merit
mark grid menu. The dialog has several options:
The import "Append to existing" option is very useful for doing cooperative merit marks. If squadron chairpersons each make their recommendations using DB2000 they can export there files and send them to the merit mark chairperson. He can then import the file and build a recommendation from several files where one may not have been sufficient for a valid recommendation. TIP: My program "Boating Course Assistant", BCA, can make merit mark recommendations for each boating course for those staff members that were present or supported the course. These files can be emailed to the MM chairman for import to the master file. BCA is fully compatible with DB2000. Download from USPS web site. |
| In addition to DB2000 maintaining the current version of the MM recommendations, at any time the user can make a dated copy by exercising that option from the menu. This file is never again updated and contains the recommendations extent at the time it was made. This can be used as a cooperative input for the MM chairperson. It is especially useful to save the final version of the recommendations at years end, providing a useful starting point for next year. The name format of these files is "MMxxx_mmddyy.dat" | |