I'm no expert in Queries and SQL yet, so bear with me. Here is the code for the query I am running:
The query runs, gives warning messages, whether I run it as a query or run it in VBA code. So it's running, but it's not finding any records. I know that I have at least one record currently in the table that meets the criteria - as far as I can tell. The field, "DNUM", is showing up blank in the table, but there is a record for it. Is there something else I could use to make the comparison other than Is Null?
Stephen![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
"Jesus saith unto him, I am the way, the truth, and the life:
no man cometh unto the Father, but by me." John 14:6 KJV
Code:
DELETE tblStatusAudit.*, tblStatusAudit.DNUM
FROM tblStatusAudit
WHERE (((tblStatusAudit.DNUM) Is Null));
Stephen
![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
"Jesus saith unto him, I am the way, the truth, and the life:
no man cometh unto the Father, but by me." John 14:6 KJV