I have a problem to solve and need your help. I have three tables tblSoldiers, tblWeaponAssigned, and tblWeaponQual.
My tables are set up like this; A soldiers can have many weapons but a weapon can only have one soldiers, A weapon can have many qualification but a qulification can only have one weapon at a time.
tblSoldiers
SSN = text
LastName = text
FirstName = text
AssignedWeapon = YES/NO or TRUE/FALSE
SoldierID = autonumber
........
tblWeaponAssigned
TypeWeapon = text (M9, M4/M16)
SightWeapon = text (Iron Sight, ACCOG)
ClassWeapon = text (IND, CREW)
WeaponQualComplete = YES/NO or TRUE/FALSE
SoldiersID = number
WeaponID = autonumber
........
tblWeaponQual
QualTypeWeapon = text (Day, Night, NBC......)
QualDateWeapon = date
WeaponID = number
QualWeaponID = autonumber
Now the problem; For a soldier to be qualifed he needs (Day, Night, and NBC). So how do I set up a query to put a yes or true vaule in the WeaponQualComplete field on the tblWeaponAssigned table.
Example: M9 has a DAY&Date, Night&Date and no NBC data, soldier is not qualified on that weapon.
M4/M16 a Day&date, Night&Date and NBC&Date, soldiers is qualified on weapon.