按年龄组报告 [英] Report by Age groups
问题描述
大家好,
我有一张桌子,其中包括2个字段,患者年龄[年龄]和筛查测试结果[testrslt]。
年龄组不到20岁,20岁至24岁,25岁至29岁,30岁至34岁,...... 65岁至69岁,70岁以上
测试结果可能是令人满意的还是不满意的
是否可以按年龄组生成每种测试结果类型的出现次数报告。
谢谢
将
Hello everyone,
I have a table which includes 2 fields, patients age [age] and results of a screening test [testrslt].
The age groups are less than 20, 20 - 24, 25 - 29, 30 - 34, ...65 - 69, 70+
The test result can either be Satisfactory or Unsatisfactory
Is it possible to generate a report on the number of occurrences of each test result type by age group.
Thanks
Will
推荐答案
大家好,
我有一张桌子,其中包括2个字段,患者年龄[年龄]和筛查测试结果[testrslt]。
年龄组小于20岁,20岁至24岁,25岁至29岁,30岁至34岁,...... 65岁至69岁,70岁以上。
是否可以生成每个测试结果的出现次数报告按年龄分组。
谢谢
将
Hello everyone,
I have a table which includes 2 fields, patients age [age] and results of a screening test [testrslt].
The age groups are less than 20, 20 - 24, 25 - 29, 30 - 34, ...65 - 69, 70+
The test result can either be Satisfactory or Unsatisfactory
Is it possible to generate a report on the number of occurrences of each test result type by age group.
Thanks
Will
你可以尝试类似这样的事情:
为每个年龄组创建文本框并输入以下表达式并相应地标记每个文本框:
= Sum(IIF([Age]< 20 AND [testrslt] ="满意,1,0))
=总和(IIF([年龄]< 20 AND [testrslt] ="令人不满意,1,0))
=总和(IIf(([年龄]在20和24之间)和[testrslt] =满意,1,0))
等.... ..
我希望你能得到这张照片。
You can try something like this:
Create textboxes for each age group and input the following expressions and label each textbox accordingly:
=Sum(IIF([Age] < 20 AND [testrslt]="Satisfactory",1,0))
=Sum(IIF([Age] < 20 AND [testrslt]="Unsatisfactory",1,0))
=Sum(IIf(([Age] Between 20 And 24) AND [testrslt]="Satisfactory",1,0))
etc......
I hope you get the picture with that.
大家好,
我有一张桌子,其中包括2个字段,患者年龄[年龄]和筛查测试结果[testrslt]。
年龄组不到20岁,20 - 24,25 - 29,30 - 34,... 65 - 69,70 +
测试结果要么令人满意要么不满意
是否可以按年龄组生成每种测试结果类型的出现次数报告。
谢谢
>
将
Hello everyone,
I have a table which includes 2 fields, patients age [age] and results of a screening test [testrslt].
The age groups are less than 20, 20 - 24, 25 - 29, 30 - 34, ...65 - 69, 70+
The test result can either be Satisfactory or Unsatisfactory
Is it possible to generate a report on the number of occurrences of each test result type by age group.
Thanks
Will
您可能希望查看Access中的PARTITION函数,该函数是专门用于分组的,例如thi秒。您可以使用Northwind数据库在帮助和练习中找到的示例
在Access帮助中搜索单词PARTITION
作为一个想法如何它适用于你的情况想象你有一个名为tblTestResults的表,其中两个字段名为Age,另一个名为tstrslt .....然后你可以使用SQL语法并将其粘贴到查询窗口''from this''以支持你说的乐队如下
You might wish to look at the PARTITION function in Access which is specifically intended grouping such as this. The example you can find in help and practice on it using the Northwind database
Search the word PARTITION in Access help
As an idea how it applies in your circumstances imagine you have a table called tblTestResults with two fields one called Age and another called tstrslt .....then the SQL syntax that you can use and paste into the query window ''from here'' to support the bandings you speak of is as follows
大家好,
我有一张桌子,其中包括2个字段,患者年龄[年龄]和筛查测试结果[testrslt]。
年龄组不到20岁,20岁-24岁,25岁-29岁,30岁-34岁,...... 65岁-69岁,70岁以上
测试结果可以是令人满意或不满意
是否可以按年龄组生成每种测试结果类型的出现次数报告。
< br $>
谢谢
将
Hello everyone,
I have a table which includes 2 fields, patients age [age] and results of a screening test [testrslt].
The age groups are less than 20, 20 - 24, 25 - 29, 30 - 34, ...65 - 69, 70+
The test result can either be Satisfactory or Unsatisfactory
Is it possible to generate a report on the number of occurrences of each test result type by age group.
Thanks
Will
尝试:
Try:
这篇关于按年龄组报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!