What will be the select request to exclude empty values โ€‹โ€‹in ms-access

I'm trying to

select * from table where Contact Is Not null 

but it displays values โ€‹โ€‹including empty values

+4
source share
2 answers

Your query is correct, but you probably have zero rows in the Contact column. you can use

select * from table where len(Nz(Contact, '')) > 0

The function Nzreturns the specified default value if the column is null.

+1
source

You can try the following:

select * from table where Len([Contact] & "")>0 
0
source

All Articles