F
Fysh
I have a form with an unbound subform. When I select an individual from a
combo box on the main form I have it loop through some code and populate the
unbound textboxes on the subform with a score against a certain category.
However, some of these scores could be null and some of the categories could
be null altogether. Here is my code I have several options, but none seem to
work. How do I eliminate the nulls, in other words I would like to sum all
the fields against the PracCatID, but skip the nulls. Could someone point
out waht my mistake is? Thanks in advance.
varA = DSum("PointsScored1", "tblPracticalResults", "Details =" & False & "
And PracticalIDNumber = " & Me.PracticalIDNumber & " And PractCATID = " &
rst![PractCATID] & " And PointsScored1 <>" & Null)
combo box on the main form I have it loop through some code and populate the
unbound textboxes on the subform with a score against a certain category.
However, some of these scores could be null and some of the categories could
be null altogether. Here is my code I have several options, but none seem to
work. How do I eliminate the nulls, in other words I would like to sum all
the fields against the PracCatID, but skip the nulls. Could someone point
out waht my mistake is? Thanks in advance.
varA = DSum("PointsScored1", "tblPracticalResults", "Details =" & False & "
And PracticalIDNumber = " & Me.PracticalIDNumber & " And PractCATID = " &
rst![PractCATID] & " And PointsScored1 <>" & Null)