bddewell408
Technical User
I have been tasked with tracking firearm data, inspections, and repairs. I am 99% finished with this database except for the following report because I cannot figure out how to build a query. I need to combine the following information with a query to get the report I want:
Table - WeaponInformation
PrimaryKeyField - SerialNumber
Field 2 - WeaponType
Field 3 - Issuedto (socialsecuritynumber)
Field 4 - WeaponInService (yes/no field)
Table - AnnualInspection
PrimaryKeyField- AnnualInspectionID (autonumber)
Field 2 - SerialNumber (linked to above )
Field 3 - InspectionDone (yes/no field)
Field 4 - DateInspected
My Goal : is to have have three unbound text boxes on a form that will allow the user to select the type of weapon from Table WeaponInformation (ie, pistol, shotgun, rifle, etc) and then a begin and end date range to query everyone that has already gotten his/her weapon inspected. But the results I want are those that have not gotten their weapon inspected.
Unfortunately, I am not the weapon inspector, because I know that could cheat each year and just copy all of the active weapons in service, paste them in the annualinspection table and then query the serialnumbers by date that are marked no. I am trying to make this as automatic and not need anymaintenance,
Thanks for any help
Bryan
Table - WeaponInformation
PrimaryKeyField - SerialNumber
Field 2 - WeaponType
Field 3 - Issuedto (socialsecuritynumber)
Field 4 - WeaponInService (yes/no field)
Table - AnnualInspection
PrimaryKeyField- AnnualInspectionID (autonumber)
Field 2 - SerialNumber (linked to above )
Field 3 - InspectionDone (yes/no field)
Field 4 - DateInspected
My Goal : is to have have three unbound text boxes on a form that will allow the user to select the type of weapon from Table WeaponInformation (ie, pistol, shotgun, rifle, etc) and then a begin and end date range to query everyone that has already gotten his/her weapon inspected. But the results I want are those that have not gotten their weapon inspected.
Unfortunately, I am not the weapon inspector, because I know that could cheat each year and just copy all of the active weapons in service, paste them in the annualinspection table and then query the serialnumbers by date that are marked no. I am trying to make this as automatic and not need anymaintenance,
Thanks for any help
Bryan