chrisb wrote: ↑Sun Jun 23, 2024 8:46 pm
your upload is a typical newbie effort, more like a spreadsheet than a database with zero consideration given to basic normalisation.
Yes, you're absolutely right....my original, much larger and more detailed database did follow the normalisation rules and each table had it's own auto-increment unique id as the PK and correct relationships but when I started designing the list on the form using the SQL, although the field contents displayed correctly in the drop-down list, it wouldn't accept the chosen entry as 'dog' 'cat' etc...only a numerical value which I guess was the ID number for that description. That's why I tried the example database and chose to use the descriptions as the PK, which resolved the list display /entry issue but obviously isn't best practice either! Having thought about it, and looking at the database you have so kindly provided, I guess I should have been using a query instead of SQL.
hsqldb embedded is a very old database, we really need to be using a modern database and triggers to ensure that users don't house large animals in small runs.
Yes, I agree...however this is the default one that my OpenOffice refers to and until I learn more about databases from scratch I didn't want to explore or invest in anything more modern as it's more than likely that I will have to forget the whole project!
Here is the problem: I live in France and have been using a commercial UK kennel software since 2008 which I believe is written using MSAccess, and until now has served me well. However, there are a couple of issues - one of them being that it's PC based so unable to integrate it with various apps like online payments, appointment calendar, customer online booking etc. These are little niggles and aren't the be-all and end-all. However my main problem is that since France is tightening up it's anti-fraud measures, the invoicing element of the software is no longer compliant with the new rules (the law states that once an invoice is created it can never be modified, amended or deleted and the software provider has to provide certification that the software complies with that rule). My software provider is aware and has offered a workaround in that by changing user access rights, the user can't modify or delete invoices, but their solution still isn't compliant or certified. At the moment I am having to manually duplicate the customer database on my kennel software onto my invoice accounting software program (similar to Sage) and manually input each invoice and payment...which takes time and is open to errors. I have asked my kennel software provider if it's possible to export the invoicing elements...his initial programme in 2008 had the option to export to Quickbooks but I no longer see it in the options and also Quickbooks and Xero are no longer available or supported in France.
It doesn't end there though, because in 2026 the laws are getting even more complex and a company will no longer be able to simply hand over a printed invoice or email a pdf invoice to a customer....all invoices will have to go through a third party government approved encryption platform so they are encrypted pdf files and all relevant tax information is collected immediately by the tax department. Clearly my current software provider (based in the UK) will not be willing to adapt his well-known software just to meet my needs!!
So the obvious answer is to look at French kennel software solutions which are currently compliant and are ready for the change in 2026...there aren't many and of the ones I have been able to try they lack in flexibility from a kennel management point of view. The newest one which is being flogged like a dead horse, appears to have been written by someone with very little background of kennel management and has been based on a hotel-style app - it lacks the function to charge different prices according to different sized dogs or run sizes, it won't allow an overlap on the last day of one booking and the first day of another, it groups all pets from one booking into the same 'room' (where they need separate 'rooms') etc.etc.
It's clear that my skillset is seriously lacking and I would never be able to create a modern software that could be integrated into other apps such as an approved invoicing platform (to comply with the French law), calendar appointments, payment integrations etc. so my choices are:
1) to get a professional to write a software programme €€€€€€€
2) use the French compliant software and change my whole way of kennel management / pricing etc.
3) knock down my kennels and rebuild them so they are all the same size to be able to use the French kennel software
4) give up and retire
The last option is the most tempting right now because it seems that the French government is going to squeeze every last small self-employed person out of business...I've been doing this for almost 20 years and it's getting harder and harder to comply with new rules and regulations.
Sorry for the essay and I appreciate the help you have given so far. I will study your database and hopefully learn more from it, if not to progress with my project, then at least to satisfy my curiosity about how things work!
Thanks again