Hello:
I have reviewed a number of threads and help files dealing with counting including...
703-669669 Expression showing count
958-658402 counting specific values using Sum (IIF(..
707-668215 similar using Dcount(
Help File.. Calculating a total or other aggregate values
I cannot find the correct expression to count the number of second order sort/groupings. For instance..
I have a monthly report based on a query that is grouped by week and sorted by document number.(second order)
The submittal document number (SD#) refers to a submission that may contain a number of related documents.
Each document has a record in the database, each SD# may have a number of records, a number of records
may have the same submittal number (SD#)
Our report lists the SD#'s (and the related documents to each SD#) received weekly over any monthly period.
I need to total the number of SD# 's submitted in the month as well as the overall total of records.
I'm not sure which expression to place in the control source of a text box to get these totals but I believe it is
a Sum(IIf expression that may read the SD# field of each record in the report and only count the number of different values not just total number of records. I've tried
=count([SD#])
in a text box in the footer but I still just get total records similar to
=count(*)
I've also tried a text box in the group section sum by group and overall to no avail
I'm trying to get...
Week of Oct 1
SD# X Dwg #123 etc
Dwg #902 etc.
SD#AB Dwg #287 etc
Dwg #983 etc.
Dwg #784
Week of Oct 6
SD# Xyz Dwg 138 etc
Dwg 289 etc.
SD#HJK Dwg 24b etc
Dwg 3982 etc.
(Report Footer)
Total Dwgs this month = 9
Total SD# this month = 4
I'm not sure what expression will give me the total SD# over the month.
(Basic design)
Report Header
Return Date (Week) Header (per Page)
Detail
SD# Dwg# Rev No. Drawing Title Received Forwarded ResponseDate Status
Page Footer
Report Footer
Total Shop Drawings This Month ..=count(*)
Number of SD# submitted ???
Thanks for your help
I have reviewed a number of threads and help files dealing with counting including...
703-669669 Expression showing count
958-658402 counting specific values using Sum (IIF(..
707-668215 similar using Dcount(
Help File.. Calculating a total or other aggregate values
I cannot find the correct expression to count the number of second order sort/groupings. For instance..
I have a monthly report based on a query that is grouped by week and sorted by document number.(second order)
The submittal document number (SD#) refers to a submission that may contain a number of related documents.
Each document has a record in the database, each SD# may have a number of records, a number of records
may have the same submittal number (SD#)
Our report lists the SD#'s (and the related documents to each SD#) received weekly over any monthly period.
I need to total the number of SD# 's submitted in the month as well as the overall total of records.
I'm not sure which expression to place in the control source of a text box to get these totals but I believe it is
a Sum(IIf expression that may read the SD# field of each record in the report and only count the number of different values not just total number of records. I've tried
=count([SD#])
in a text box in the footer but I still just get total records similar to
=count(*)
I've also tried a text box in the group section sum by group and overall to no avail
I'm trying to get...
Week of Oct 1
SD# X Dwg #123 etc
Dwg #902 etc.
SD#AB Dwg #287 etc
Dwg #983 etc.
Dwg #784
Week of Oct 6
SD# Xyz Dwg 138 etc
Dwg 289 etc.
SD#HJK Dwg 24b etc
Dwg 3982 etc.
(Report Footer)
Total Dwgs this month = 9
Total SD# this month = 4
I'm not sure what expression will give me the total SD# over the month.
(Basic design)
Report Header
Return Date (Week) Header (per Page)
Detail
SD# Dwg# Rev No. Drawing Title Received Forwarded ResponseDate Status
Page Footer
Report Footer
Total Shop Drawings This Month ..=count(*)
Number of SD# submitted ???
Thanks for your help