B
botuco via AccessMonster.com
I have three tables in my database with the following fields:
TbAo
- AoID (autonumber)
- StudyID
- AoRead (number field, value from 1 to 5)
TbStudyInfo
- StudyID (autonumber)
- StudyDate
- 5 other fields
TbSono
- SonoID (autonumber)
- StudyID
- SonographerID
All tables are related by the StudyID field.
I would like to create a query where I can see for each SonographerID the
total number of matching records in TbAo, and the number of AoRead=1,
AoRead=2, AoRead=3, AoRead=4, AoRead=5. I have tried using Count and DCount
but I can only get the total number of AoRead=1, AoRead=2, etc fot the entire
TbAo, not for each SonographerID.
Thanks for your help.
TbAo
- AoID (autonumber)
- StudyID
- AoRead (number field, value from 1 to 5)
TbStudyInfo
- StudyID (autonumber)
- StudyDate
- 5 other fields
TbSono
- SonoID (autonumber)
- StudyID
- SonographerID
All tables are related by the StudyID field.
I would like to create a query where I can see for each SonographerID the
total number of matching records in TbAo, and the number of AoRead=1,
AoRead=2, AoRead=3, AoRead=4, AoRead=5. I have tried using Count and DCount
but I can only get the total number of AoRead=1, AoRead=2, etc fot the entire
TbAo, not for each SonographerID.
Thanks for your help.