I am using a form to update data in a table. I use a variable to get the row Id of the record I am going to update. Then I get variables for all the things I want to update.
In the update query I use the iif statement to update things that need to be updated and leave things that I dont want to change by leaving their fields blank. I have to use the iif statement so I dont update an existing value to a blank value.
Here is an example of the iif i use
IIf([Forms]![GUF_GUSDataEntry]![CustomerID] Is Null,[tmpGU_GUS].[CustomerID],[Forms]![GUF_GUSDataEntry]![CustomerID])
Basically it is iif the update field is null, update the value to its existing value, else update to the form value.
What i would like to know is if there is a way to have the first if condition basically say do nothing instead of updating it to its existing value.