P
Penny
If have coded a report field as follows:
=Sum(Val(nulltozero([FieldName)))
Function nulltozero(AnyValue As Variant) As Variant
' Coverts null values to zero
If IsNull(AnyValue) Then
nulltozero = 0
Else
nulltozero = AnyValue
End If
End Function
I'm still getting blank data in some of my fields along
with 0.00.
Any suggestions on how to fix?
Thanks in advance.
Penny
=Sum(Val(nulltozero([FieldName)))
Function nulltozero(AnyValue As Variant) As Variant
' Coverts null values to zero
If IsNull(AnyValue) Then
nulltozero = 0
Else
nulltozero = AnyValue
End If
End Function
I'm still getting blank data in some of my fields along
with 0.00.
Any suggestions on how to fix?
Thanks in advance.
Penny