In the field in question, I am getting #Name?
I've checked the field names are correct in the table, here's what should happen.
=(DSum("TG","tblLabourBooking","AssessmentNo=" & [AssessmentNo] & " And Operation='Fit'"))
The expression looks for TG which is a numerical value assigned earlier in the database.
If there is no data, I would like toi return a zero instead of #Name?
I have about 6 fields with this expression and only the "Fit" changes in each.
Where there is data, the expression works fine.
Its only where there is no data for that record.