I may be dreaming... But is there a way to run one query, or one simple piece of VB code that updates each field in each record if it has an empty string for the whole table? I want to update them all to null so I know that the queries that I have created that look for null are working correctly. I have a table with over 100 fields and doing this manually for each field is quite time consuming... I discovered (thankfully using a copy) that if you try to do this in a query for more than one field, it udpates all the fields to null, even if there is something in it already...
My issue is that there is an import from an Excel file that is passing on empty strings and not Null. I have 2 things I need to do in order to stop this from happening 1) fix the excel file to return ISBLANK if there is nothing in a cell that the import worksheet references and 2) fix the append/update queries to pass Null instead of the empty string during the import process.
If I can find a way to update the tables at one time periodically, I'd much rather do this than to go back through the several different queries and Excel file - which would mean 500+ fixes vs. what I hope to be one easy fix...
Any ideas are greatly appreciated.
Carie
My issue is that there is an import from an Excel file that is passing on empty strings and not Null. I have 2 things I need to do in order to stop this from happening 1) fix the excel file to return ISBLANK if there is nothing in a cell that the import worksheet references and 2) fix the append/update queries to pass Null instead of the empty string during the import process.
If I can find a way to update the tables at one time periodically, I'd much rather do this than to go back through the several different queries and Excel file - which would mean 500+ fixes vs. what I hope to be one easy fix...
Any ideas are greatly appreciated.
Carie