Hi
I have this problem: In my database over dogs I have among other tables one called - DogData - (contains - DogID, Name, DateofBirth, VaccineID, MothersName, and so on), one called - Vaccines - (contains -
VaccineID, VaccineDateParvovirus8weeks, VaccineDateParvovirus12weeks, VaccineDateParvovirus3year, VaccineDateParvovirus6year...., VaccineDateKennelhoste12weeks, VaccineDateKennelhoste1year, VaccineDateKennelhoste2year.....,VaccineDateRabies12weeks.... and so on) There are actually 4 different vaccines. A relationship exists between -DogData - VaccineID (one) and - Vaccines - VaccineID (many). I have a query called - LastVaccineDate - using - SELECT Max...... and this works ok. I get the last date of the different Vaccines when I run it as expected. (Actually I have 4 of this queries because I have not been able to figure out how to get all 4 ' last vaccinedates' run in the same query. My problem is that I would like to get 'Next vaccine date' (witch differs between the vaccines - 4 weeks, 1 year, 3 year) displayed in a form and or a repport that already contains all other info abt the dog and not only in a separate form as it is now.
I hope there are someone out there who knows abt this sort of things.
Greatings
Lasse
I have this problem: In my database over dogs I have among other tables one called - DogData - (contains - DogID, Name, DateofBirth, VaccineID, MothersName, and so on), one called - Vaccines - (contains -
VaccineID, VaccineDateParvovirus8weeks, VaccineDateParvovirus12weeks, VaccineDateParvovirus3year, VaccineDateParvovirus6year...., VaccineDateKennelhoste12weeks, VaccineDateKennelhoste1year, VaccineDateKennelhoste2year.....,VaccineDateRabies12weeks.... and so on) There are actually 4 different vaccines. A relationship exists between -DogData - VaccineID (one) and - Vaccines - VaccineID (many). I have a query called - LastVaccineDate - using - SELECT Max...... and this works ok. I get the last date of the different Vaccines when I run it as expected. (Actually I have 4 of this queries because I have not been able to figure out how to get all 4 ' last vaccinedates' run in the same query. My problem is that I would like to get 'Next vaccine date' (witch differs between the vaccines - 4 weeks, 1 year, 3 year) displayed in a form and or a repport that already contains all other info abt the dog and not only in a separate form as it is now.
I hope there are someone out there who knows abt this sort of things.
Greatings
Lasse