I'm using CR11 on an Access database. My formula uses a shared variable. When a condition is met, a sum is moved into the variable. The problem is that the previous value is not saved. When it gets to the next record and the condition is not met, zero is moved into the variable. The formula does not contain any code to move zeros.