Count Number of Days Code Help

D

Dave

I have a sub-form named Time and Hours
On this form it has a Text Box with it's Control Source set to Work Date
and it's Name is WorkDate Format is m/d/yy
On the Form Footer are Totals for the Form, it has multiple records.
I need for the unbound text box named Text98 to add up the total Number of
Days Spent on this Job, it is located on the Form Footer as well.


Thanks,

Dave
 
F

Frank Stone

I am not sure i understand you but to do what you want,
textbox98 should have a expersion as the control source
that subtracts workdate(i think-anyway start date) from
now(). that will give you total days worked.
 
D

Dave

What I really need is the difference between the oldest and latest dates on
form, not date()

Thanks,
 

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