Limit sum() by one year and primary key?

F

Flopbot

Here it goes. I'm a first time questioner and new to Access so I don't know
anything about coding, queries, etc. Hopefully someone can help this poor
lost sole. I have a form that’s based on my “Volunteer Info Tableâ€. This
table is linked (one-many) to “Volunteer Hours Tracking Form†via primary
key. I would like to add an expression in a control box on the form that
will do two things. 1.) Include those records with the correct primary key.
2.) Sum only the past year’s records found in the “Total†column on the
“Tracking†form. The Total column is a calculated column using the following
function which works beautifully by the way =([End Time]-[Start Time])*24).
That calculation results in the total hours volunteered each day. Does
anyone know an expression that I can use to do this? I think it might be
some combination of =Sum() & <Date()-365. Thank you so much to anyone that
can help!!!!
 
F

Flopbot

No need to respond to this post. I've reworded the question and re entered
it. This post should be deleted soon.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top