DCount() is real picky about spacing, which may be the problem here, if this
items = DCount("*", "Risk_Data", "[Encon] =" & Me.ENCON)
was copied and pasted from your code. When you write an expression in VBA involving an equal mark, such as
A + B =C
Access will automatically correct it to read
A + B = C
with the space between the equal mark and the C. But if you write
"A + B =" & C
Access will take everything within the quotes literally, leaving it reading
A + B =C
which is incorrect syntax.
Try changing
items = DCount("*", "Risk_Data", "[Encon] =" & Me.ENCON)
to
items = DCount("*", "Risk_Data", "[Encon] = " & Me.ENCON)