Hello!
Just a heads up, I'm not skilled in SQL but I am familiar with creating queries in Design View of Access.
The problem I'm having is that I need to update an existing Access table (SAP Masterview) with corresponding fields from a linked Excel table (ZQM88 Qlik Tbl). I only want to update each field in SAP Masterview if it’s blank though.
I created the update query with Null as the criteria for each field but in looking at the SQL code, it looks like Access is taking this as an AND condition and all fields have to NULL. There will be instances where one field may be Null but others may not so therefore, no update required.
I tried to change the AND to OR in SQL but it did something weird in Design View which didn’t look accurate. Or maybe there's a more efficient method?
I attached screenshots.
Thank you in advance.
Just a heads up, I'm not skilled in SQL but I am familiar with creating queries in Design View of Access.
The problem I'm having is that I need to update an existing Access table (SAP Masterview) with corresponding fields from a linked Excel table (ZQM88 Qlik Tbl). I only want to update each field in SAP Masterview if it’s blank though.
I created the update query with Null as the criteria for each field but in looking at the SQL code, it looks like Access is taking this as an AND condition and all fields have to NULL. There will be instances where one field may be Null but others may not so therefore, no update required.
I tried to change the AND to OR in SQL but it did something weird in Design View which didn’t look accurate. Or maybe there's a more efficient method?
I attached screenshots.
Thank you in advance.