A family of Microsoft relational database management systems designed for ease of use.
Tom,
Well you have GOT to be Dutch, but I will continue this string in English!
When I set up this database, I did study the Northwind files, which is how I learned how to do most of what I have done so far. Just to be clear, I am not really in the ordering product business, I run the administration for a Summer Camp and mostly we "sell" Children's Camp and Teen camp, but in addition we started offering Tshirts and this year a Photobook (hats are actually not a bad idea).
Family info is in one Table. Camper data (Children) is in another. They are properly linked so the whole thing works. There is also a table for the date of camp (to calculate age in camp from DOB), and a table containing the name of the camp (Kinderkamp / Tienerkamp / None), the price of each camp, and the amount of the multiple child discount (meerkindskorting).
I populate the form (formulier) from the Tables.
I enter the amount for Registration fee from our Internet banking (more recently Tikkies) manually. As said the multiple child discount is calculated and entered autmatically. I used to be able to check a box for the Staf discount, but that stopped working, but the amount was filled in by entering the calculation in the field of the form. Can't figure out why it stopped working, but there are only about 5 stafmembers who have kids in camp, and I'd have to manually check their box, so why not just fill in the amount myself?
For the Tshirst there is a dropdown menu in the Child form, that allows me to enter the size of the Tshirt from the Google registration form. The field "Aantal Tshirtmaat" calculates how many Tshirts have been ordered by the family. In the family form that field is multiplied by 11,95 and shown (and added to the total Camp cost). The only place where I have to edit the price when it changes is in that one field. Sure, I could go get that price from the tabel where the other prices are located, but I would still have to change it there, so what's the difference.
All of this works to the extent that I think "it ain't broke".
What does not work is this year's addition of a Photobook. I have a checkbox (radiobutton / yes/no) in the child form (and table) called "Fotoboek". I have the same not visible field [Aantal Fotoboek] like I do for Tshirts, but it doesn't work. Since I don't actually understand the "Aantal [field]" command (insufficient understanding of Access, I can't make it work. I have a cel in the table for Family and a field in the Family form that is supposed to multiply Aantal Fotoboek * 6,5, but it gives me #Name? I don't know what that means, so I can't fix it. I will gladly put all this in a seperate table, where eventually I could also put a hat and include the Tshirts, but I don't know how to get the number of Photobooks ordered into the table or the form. Here again, my way of doing it would only require me to change the price of the Photobook in one place. Obviously, parents with 3 Children's camp participants may order only one book (so for one child), parents with kids in Teen and Children's camp may order one for a Teen and another for a Child (different books) and any other combination. 2 kids in teencamp and 2 in Children's camp may result in ordering 2 books, 1 book or 4 books. I need that added up correctly.
Once I get the data in a table (or query, which I know is just a table) I can get them into the form just fine.
In the end, I need to be able to do simple adding / subtracting with all these financial numbers. Adding up costs and discounts, and subtracting the total of discounts from the total of costs and the total of what they have paid (registration fee and final amount). Some of that is being done in a Query, a few in the form. That is an easy fix (I think).
My database has several forms, tables (as mentioned, and another one for Stafmembers) and many, many querries to mailmerge with Word, make lists or reports (like how many of each Tshirt to order and another one to distribute the Tshirts during camp). Also a few "bijwerk querries" to change data based on specific criteria. Over the years it has become quite complicated (for me), but most of all, it all works; so it ain't broke (in my opinion) :-).
I would like to know how to get the photobook orders for indivual campers added up per family.
I would like to know how I can fill the Staff discount cell (in the table) and thus the corresponding field in the form, based on the checkmark in the Family form.
When children "grow up" the AVG (GRDP) and our Privacy statement requires me to delete them, since they are no longer of an age where they are campers. When they do have children of their own and send them to camp (which is happening now), I have to enter them as a new family. That makes sense (at least to me) since the only thing that stays the same is their first name and for men: their last name. All the other data for a family record changes (address, phone numbers, children's names) etc. So aside from being required to remove them when they "age out", I have to enter them as a new record anyway. That's because they are not customers, but parents of children. They are also not ordering products, but sending children to our camps.
David