Replacing field contents if empty
hello, i am trying to run through my records and replace any of the 10 fields with "0" if the field is empty but ignore it if it isnt.
i have 10 fields that represent sixes, S, M, L....
XXXL - 8
36 - 6
38 - 2
Id like to run a script that will fill in the empty fields with a 0 but not erase or replace the field if there is a number already there.
below is the scruipt i have been trying to make work.
thank you in advance