B
Barry
Hi
I am trying to run this code for a calculated field, it works fine as long
as there are no null values, which there are. I am unsure of how to use the
Nz function. If the ChildContibuion is null, this causes the calculated
field's result to be null.
Private Sub TotalContribution_Exit(Cancel As Integer)
Me.TotalContribution = Me.Child1Contribution + Me.Child2Contribution +
Me.Child3Contribution + Me.Child4Contribution + Me.Child5Contribution +
Me.Child6Contribution
End Sub
Can someone please help or point me in the right direction
Thanks
Barry
I am trying to run this code for a calculated field, it works fine as long
as there are no null values, which there are. I am unsure of how to use the
Nz function. If the ChildContibuion is null, this causes the calculated
field's result to be null.
Private Sub TotalContribution_Exit(Cancel As Integer)
Me.TotalContribution = Me.Child1Contribution + Me.Child2Contribution +
Me.Child3Contribution + Me.Child4Contribution + Me.Child5Contribution +
Me.Child6Contribution
End Sub
Can someone please help or point me in the right direction
Thanks
Barry