Click to See Complete Forum and Search --> : counting nulls


Mat Davis
March 19th, 2001, 03:43 PM
i'm trying to count null fields in an access db -and failing.
This is what is failing :
If Data1.Recordset("name") = NULL Then
num = num + 1
If i debug it i can see that the field is null but it still tests as false.
Any help please ?
Thanks in advance,
MD.

Iouri
March 19th, 2001, 03:46 PM
That must work
If IsNuLL(Data1.Recordset("name")) Then
num = num + 1


Iouri Boutchkine
iouri@hotsheet.com

Mat Davis
March 20th, 2001, 12:10 PM
that works. Thanks for the help.
MD.