Aggregate FunctionsAggregate Functions
byby
Barry HynumBarry Hynum
MaxQual ConsultingMaxQual Consulting
Shameless PlugShameless Plug
Access MDB’s or ADP’sAccess MDB’s or ADP’s– Legacy SpecialistLegacy Specialist
SQL ServerSQL Server ASP.Net (Websites)ASP.Net (Websites)
– Legacy ASP Classic & COMLegacy ASP Classic & COM PeachtreePeachtree
– To Access or SQL Server To Access or SQL Server
Access HelpAccess Help
Aggregate FunctionsAggregate Functions
First & Last
Expressions
QueriesQueries
Design ViewDesign View
Design View (continued)Design View (continued)
SQL ViewSQL View
HavingHaving
Product Sales for 1997_AvgQty
After aggregation
Forms & ReportsForms & Reports
Orders Subform
Control SourceControl Source
Expression BuilderExpression Builder
““Advanced” IssuesAdvanced” Issues
Updating controls in Hdrs/FtrsUpdating controls in Hdrs/Ftrs Referring to Controls in SectionsReferring to Controls in Sections
– Rpt: Employee Sales by CountryRpt: Employee Sales by Country
1
2 3
4
5
Controls vs. FieldsControls vs. Fields
To clarify, ALWAYS use a naming convention
for control names, i.e. txtGrandTotal.
Aggregate functions work on Fields, not Controls. (Hint: They are called SQL Aggregate Functions.)
1 2
3
4
5
Access SecurityAccess Security
Real World MS Access Database Real World MS Access Database Protection & Security by G. Protection & Security by G. RobinsonRobinson
Access Security FAQAccess Security FAQ
Top Related