Can't total a DateDiff field on form footer

slharman1

Member
Local time
Today, 13:48
Joined
Mar 8, 2021
Messages
483
I am trying to use the =Sum(txtHours) on a form footer.
All I get is error, what am I doing wrong?
 
In expressions always use [] for controls and fields
=Sum([txtHours])
if txthours is a calculated control lets say =[Mins]/60 you have to go to the source. You cannot sum a calculated control
you have to sum the original expression
=sum([mins]/60)
 
In expressions always use [] for controls and fields
=Sum([txtHours])
if txthours is a calculated control lets say =[Mins]/60 you have to go to the source. You cannot sum a calculated control
you have to sum the original expression
=sum([mins]/60)
Yes sir, Thank you!
I had the brackets (not shown in my post) but it is indeed a calculated field - went to the source and viola, it works!
 

Users who are viewing this thread

Back
Top Bottom