- Local time
- Today, 14:37
- Joined
- Sep 12, 2006
- Messages
- 16,096
Yes, but you don't need new tables and forms to add extra pieces of information (data, datum) to a person record. You add new fields to the person record, and redesign the person form to include that field. In some cases you might decide to model it in a different way, where the person's attributes are stored in a person's attributes table, with each individual attribute in a different row.Pete, when I say that the database will have twice as many tables/forms/reports next year, it means that I am constantly finding new information to add to the database. When I started back in January the only domains that I considered were financial ones. I read lots about financial systems such as Quicken, to understand things that I could put in the database. A friend suggested that I subscribe to Quicken but no, I needed graphics and speech in my system. I have a copy of Microsoft Money somewhere, but do you think I use it?
Then I started going to public libraries to check out books and magazines about personal finance. I found a goldmine in the Kiplinger Personal Finance magazine. Then I started subscribing to Kiplinger online. More good information.
Then I started asking family members for their budget templates in Excel. Later, I purchased textbooks on finance and accounting.
I still consider myself to be a dummy about finance. I worked for an insurance company twice. I passed the state exam twice.
Later, I realized the connection between personal finance and health. Family members started telling me that they have serious health issues, so I started reading the medical literature. Each article led me to create a new module in the database. Yes, I could have done more with normalization, but I discovered a new disease every week.
Then I got hit in the face with food recalls. There was a recall almost once a week, and then twice a week. I had already dealt with recalls of medicines.
Somewhere along the line, I decided to track pet care costs. That taught me how much a family can spend on cats and dogs. It's food, medicine, doctors, and surgeries.
You and others here probably develop applications for a business or government agency. They hire you to create a database that they have defined. That's not how I work. Who knows what I will discover and want to add to the database tomorrow?
I admit that the database is designed incorrectly. But show me an application with everything that I have in my system, changes from day to day, and, and, and.
Thanks for your interest.
Either way, you end up with 2 or 3 tables, not hundreds.
This second way is perhaps less intuitive, but you generally don't even need to change the database design to include new attributes with this model, and you never end up with too many columns.
You certainly don't need a new table for every person in any event.
If you have a table for every person, then no wonder you are struggling to delete the same piece of information for multiple persons.
It's also why we are all struggling to help, because the best advice is probably to start over. Sorry.