P
patientgrow
I am having trouble counting Nulls in a table using the DCount function.
Here is my code:
totalaccessions = DCount("*", "tblBDADailyWork", "Assigned is null ")
The field 'Assigned' has Nulls and it returns totalaccessions with 0. But
when I go into the table and key data into a null field and then delete it
and run this code it then counts the record I keyed and deleted as Null. Can
anyone help me out with what is going on here? And how can I just count the
blank fields?
Thanks!
Here is my code:
totalaccessions = DCount("*", "tblBDADailyWork", "Assigned is null ")
The field 'Assigned' has Nulls and it returns totalaccessions with 0. But
when I go into the table and key data into a null field and then delete it
and run this code it then counts the record I keyed and deleted as Null. Can
anyone help me out with what is going on here? And how can I just count the
blank fields?
Thanks!