Hello ,
I have a form with a textbox where user enters date , one button that requeries a subform and one SumTextbox that shows the sum of one field of subform.
When the user enters a date , that is not on a subform , subform returns blank , and on the SumTextbox I get #Error.
How can I input criteria ,so that when the field is blank ,my ResultTextbox shows 0?
By now I have tried :and this : http://allenbrowne.com/RecordCountError.htmlCode:= IIf ( IsNull([FieldName]) ; 0; sum( [FieldName] ))
but this doesn't work