I hope the group can help as I can not seem to work out where Im getting the following problem from

When entering data in a linked subreport with a calculated control in (=Count([Name]))
I get the following dialogue box 3 times
Complie error
Expect=

with
DateDiff(h,[Time on],[Time off]) statement
in form_callout attendance form:class module
In back ground
but I have not used this statementanywhere


This only happens when I add new data the control works fine with existing data


Also is it true I can not use SUM with any concat data


Hope someone can help


Cheers


Simon