I am trying to use the IIF statement to assign new values for a table using the following command
UPDATE [All] SET Field17 = IIf ([Field2]="AC.DB0",151100);
it is working fine
but if i want to use it to assign another value
[Field2]="AZG.DB0",9800);then the previous 151100 values assigned in the first command disappears and become blank. How can I update the Field2 column without elimintaing the previous values assigned in this column
Best
Wd
UPDATE [All] SET Field17 = IIf ([Field2]="AC.DB0",151100);
it is working fine
but if i want to use it to assign another value
[Field2]="AZG.DB0",9800);then the previous 151100 values assigned in the first command disappears and become blank. How can I update the Field2 column without elimintaing the previous values assigned in this column
Best
Wd