An actual Running Total field (like variable formulas) must be placed on or below the location that has the rows being evaluated (e.g. details or footers).
Your post seems that you built the RT correctly but you did not totally describe it so I am not sure.
Your original post indicates to me that you are placing the RT in the report header. If you do that it only evaluates the first row in the report and will show a 1 (based on your sample data). If you move it tot he report (or group) footer it will evaluate all rows and show you the reult fromt that.
Your evaluation formula does not need an if-then only needs to be
table.account = '0000'
Lockwelles description of the formula for converting to a 1 or 0 is a uselful process if you do not have duplicates and you also want to use the insert sumamry function which allows for totals to be used in headers or group selection criteria.
Edited by DBlank - 07 Mar 2012 at 4:12am