I have data for the month of August and want to compare averages for 3 days prior an event and 3 days post. How do I program such that Access looks at a start date and uses 3 days prior than and then 3 days post.
If each date is in a separate record, you could use the AVG Domain Aggregate function:
Average = DAvg("field to average","table to average","recorddate Between #" & StartDate - 3 & "# And #" & StartDate + 3 & "#"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.