Can anyone help. I currently have a Subform (datasheet view) and i have three fields summarizing the data,
=count("*")
=avg([turnaround])
=sum([turnaround])
Once the form has been refreshed, i reference the three fields within VBA and i assign the values to three variables. But whenever the event is started, the variables are always set to 0. If i put a break point in the code and F8 through it, it will assign the values correctly.
Have also tried to refer to these field from the main field, but still if you let VBA it will just leave the fields blank, but again if you step through with F8 it will work?
Any ideas?
=count("*")
=avg([turnaround])
=sum([turnaround])
Once the form has been refreshed, i reference the three fields within VBA and i assign the values to three variables. But whenever the event is started, the variables are always set to 0. If i put a break point in the code and F8 through it, it will assign the values correctly.
Have also tried to refer to these field from the main field, but still if you let VBA it will just leave the fields blank, but again if you step through with F8 it will work?
Any ideas?