MS Access: How to replace blank (null ) values with 0 for all records?
I guess it has to be done using SQL. I can use Find and Replace to replace 0 with blank, but n
If you're trying to do this with a query, then here is your answer:
SELECT ISNULL([field], 0) FROM [table]
Edit
ISNULL function was used incorrectly - this modified version uses IIF
SELECT IIF(ISNULL([field]), 0, [field]) FROM [table]
If you want to replace the actual values in the table, then you'll need to do it this way:
UPDATE [table] SET [FIELD] = 0 WHERE [FIELD] IS NULL