| BoatRecords |
| Using MS Excel to Manage Boat Inventory and Maintenance Records |
| BoatRecords is the latest (and I hope the last) rewrite of the boat inventory and boat maintenance applications I've developed using MS Visual Basic for Applications (VBA) and MS Excel. The Inventory and Maintenance applications were originally developed independently and then integrated by the InventoryMaint application. That integration I viewed as just as a transitory application to a better solution. |
|
There were six primary design goals for the re-write of the InventoryMaint application. |
|
| BoatRecords version 3.8 (later versions are now available for download), I
believe, satisfied the all of those goals. |
| The latest MS Office 2003/xp
version (4.0e) of the application can be downloaded
here. The latest MS Office 2007 version (4.0e) of the application can be downloaded here. |
| The user manual for the program in pdf format can be downloaded by clicking
here. |
| Note: I recently replaced my Winxp development system with a
Win7 64 bit system. I installed Office 2003 under Win7
(running in 32 bit mode). Excel 2003 runs fine in that
environment, but the BoatRecords application has some problems.
Whenever I start BoatRecords (click on the Records button) Excel
aborts. If I opent the VBA Editor before clicking the Records
button everything works fine. I could not determine why this
happens. I then installed Office 2003 in the xp emulation
under Win7. In that environment BoatRecords works fine with or
without the VBA Editor open. So, if you have a similar
environment (Win7, Office 2003) you may need to run this application
in xp emulation mode. The Office 2007 version of the
application runs fine in the Win7 environment. Should you encounter this Excel abort situation, the only workaround I have been able to come up with is to open the VBA Editor and set a program breakpoint before starting BoatRecords. This normally how I debug the program, but in this case it has the result of making the Excel abort problem go away. I've published a page on how to use the VBA Editor to clear the problem. You can view this page by clickinge here. Hopefully I will find a permanent fix for the problem in the near future. |
| The major change in version 3.5 was to modify the forms to fit on a
netbook screen. The previous screens were too tall and I did
not want to implement scrollbars. I have not updated all of the
documentation to reflect the new form layouts. That will take
some time as all of the screen captures will have to be replaced.
The data fields and controls on the form have not been changed, they
have just been relocated on the form. No new features were
implemented in 3.5. Version 3.6 provides the Configure tool on the Tools Page that can be used to create a layout for other than Pearson 424s. In previous version this required manually editing the Layout Worksheet in the Inventory Workbook. Version 3.7 implements the Inventory Import function from the Tools Page. This allows Inventory workbooks created by previous versions of the program to be upgraded to the current version. This will likely be required whenever I make a significant change to the Inventory workbook format. With the release of BoatRecords version 3.7 the base version number for Inventory workbooks has been established at 3.6. That is, BoatRecords version 3.7 can open and process any Inventory workbook of version 3.6 or later. An Inventory workbook from a version earlier than 3.6 must be imported before the workbook can be access with BoatRecords version 3.7 or later. When a user attempts to open an Inventory Workbook from an earlier version, the program will notify the user that the workbook must first be imported. The minimum version level for an imported Inventory workbook is 3.15. If you have an Inventory database from an earlier version than 3.15, the import tool will not be able to upgrade this file to the current level. In this case please send a copy of your Inventory workbook to the webmaster email address at the bottom of this page. I will attempt to manually convert your inventory workbook to the current format. Version 3.8 implemented a Temporary Status for Inventory Items and Containers. An example of this Temporary Status would be the loan of an item to another boat owner. This implementation required several changes to the format and content of the Inventory Workbook. In order to use version 3.8 and later of BoatRecordsVBA with any inventory generated by an earlier version (3.15 - 3.7) will require that inventory to be imported into this release. This version also includes a Minimize button on the main form. This reduces the application form to a single small window, which can be moved out of the way to work with other applications, but still keep the program active. This feature was implemented for my Netbook whose small screen is completely filled by the main form. Version 3.9 fixed a few bugs in the temporary status feature and added that feature to the Locker Page (an oversight in the previous verion). Version 4.0 added the Find page to provide more efficient searching for Inventory records. This first also included an initial implementation indices for the database. This allows nearly all of the fields in the Inventory record to be entered via drop-down lists rather than typing. Currently BoatRecords does not provide an Import utility for the Maintenance Log workbook. There have been no functional changes to this workbook since version 3.15. If you have a Maintenance Log workbook from a version earlier than 3.15 it will have to be manually upgraded for the current version of BoatRecords. As with earlier versions of the Inventory workbook, send me your Maintenance workbook and I will attempt to convert it to the current format. |
| If you would like to test the program with fairly large inventory and maintenance databases you can download recent versions of the databases for my yacht, Sarah, here |
![]() The download file is a Zip file created with Winzip as shown in the screen capture above. The contents of the Zip file are described below. |
|
| Although the development and maintenance of this application is accomplished in Office 2003, I have tested it in the Office 2007 environment on my Dell Netbook, and I now provide an Office 2007 version for download (see links above). |
| What Does BoatRecordsVBA Do? |
| BoatRecordsVBA performs two major functions: |
|
| How Do I Use BoatRecordsVBA |
|
| What Will BoatRecordsVBA Do in Future? |
| That's a big question. It is doing nearly everything I
need right now, so further development is not a high priority.
I will add new features as I find them necessary or useful. If
someone using the program were to request some new features I will
give that request serious consideration. There are a few items I believe would improve the application |
|
| Development, Testing and Using Environments |
|
BoatRecordsVBA was developed and primarily tested in Excel 2003
under Winxp. I have recently moved this development
environment to the xp emulation environment under Win7. In the
short term I plan to keep the development in Excel 2003 to avoid
backward compatibility problems. In order to provide the Excel
2007 version of the application I save the program in Excel 2003
using the conversion utility provided by Microsoft. Although
Excel 2007 will open an Excel 2003 workbook it does not convert the
links to the VBA libraries. The Excel 2003 program version,
when loaded by Excel 2007 is still looking for the Office 2003 VBA
libraries, which do not exist in the Office 2007 environment unless
both Office 2003 and Office 2007 are installed on the system.
Hence, the reason I provide two different versions of the
application. Below are the environments in which I currently run and test the application. |
|
| I try to test this application thoroughly before posting a new version on this web page; however, I am developing this application primarily for my own use and generally test it only on my Inventory and Maintenance databases. This provides me with confidence that the program will handle large inventory and maintenance log databases, but I don't do a lot of testing of the program starting from scratch with empty databases (unless I make a program change in that area). Recently a user, trying to initially build an inventory from a blank workbook, ran into a lot of problems. I think I was able to resolve all of his problems with version 4.0e. However, I expect different users with different needs will uncover other bugs in the program that I do not find in my testing. I will attempt to fix any of these problems that are reported to me. |