With rstHead
If .Fields("iRecordCount") = 0 Then
GetDZBZInfo = 0
Else
GetDZBZInfo = 1
End If
.Close
End With
Set rstHead = Nothing
Exit Function
E:
strError(0) = CStr(Err.Number)
strError(1) = Err.DescriptionstrError(3) = "ModDengZhang.clsInputZb.GetDZBZInfo"
GetDZBZInfo = -1