I bought one of those Blood Pressure machines last year - now I'm older I need to keep an eye on my health. It displays blood pressure and pulse, with an inbuilt 'memory' for the last 10 readings or so. Being an ex-programmer I naturally thought of writing a Lazarus app to keep a record of readings, and displaying stats, graphs etc - which I did, but it was very much a 'quick-and-dirty' effort.
Recently I decided to do it 'properly' via a searchable database. I have never used Lazarus directly with a database before, so all the DB stuff has been a good learning experience. The Wiki was invaluable. All the database interactions are in a seperate class.
The result so far is 'Health Daily Monitor' (
Sourceforge Project Page)
Windows 32-bit Installers are in the project page [Files] section
Databases supported
- MSaccess
- SQLite 3
- Firebird embedded (thanks BigChimp)
- MySQL 5.6 server
The app simply stores the records, and provides some simple stats along with basic User and Record management. A follow-up app will use the db to display graphs (another leaning experience to come!)
I must thank users
howardpc and
wp here for the CalendarLite code. It is a neat solution for my app - I populated the 'Holidays' with valid record days, so the user can simply click on a highlighted day to edit a record. Also, thank you to user
BigChimp for implementing Firebird functionality
It's a really simple app, but as the title says; it's my first foray into Lazarus DB programming. It's a 'hobby' project - LGPLv2 etc. The different databases made it more interesting.
Note The MSaccess Edition needs MSAccess DB drivers installed on your system. Download free AccessDatabaseEngine available here:
Microsoft Download Link if you haven't got them already.