R
Rob
Hello,
I am trying to update 6 fields in a table, but the update query only
performs the update on the first field in my query and not the others.
My query contains the 6 fields in the table and is simply trying to update
each record to 0 if null.
UPDATE [tbl BUDGET] SET [tbl BUDGET].[AP%] = 0, [tbl BUDGET].[SBJ%] = 0,
[tbl BUDGET].[EMEA%] = 0, [tbl BUDGET].[UK%] = 0, [tbl BUDGET].[LA%] = 0,
[tbl BUDGET].[FICE%] = 0
WHERE ((([tbl BUDGET].[AP%]) Is Null) AND (([tbl BUDGET].[SBJ%]) Is Null)
AND (([tbl BUDGET].[EMEA%]) Is Null) AND (([tbl BUDGET].[UK%]) Is Null) AND
(([tbl BUDGET].[LA%]) Is Null) AND (([tbl BUDGET].[FICE%]) Is Null));
Any ideas?
I am trying to update 6 fields in a table, but the update query only
performs the update on the first field in my query and not the others.
My query contains the 6 fields in the table and is simply trying to update
each record to 0 if null.
UPDATE [tbl BUDGET] SET [tbl BUDGET].[AP%] = 0, [tbl BUDGET].[SBJ%] = 0,
[tbl BUDGET].[EMEA%] = 0, [tbl BUDGET].[UK%] = 0, [tbl BUDGET].[LA%] = 0,
[tbl BUDGET].[FICE%] = 0
WHERE ((([tbl BUDGET].[AP%]) Is Null) AND (([tbl BUDGET].[SBJ%]) Is Null)
AND (([tbl BUDGET].[EMEA%]) Is Null) AND (([tbl BUDGET].[UK%]) Is Null) AND
(([tbl BUDGET].[LA%]) Is Null) AND (([tbl BUDGET].[FICE%]) Is Null));
Any ideas?