You can't put a running total in the report header as the value is generated as it runs through the report.
To get the total in the report header, you need to go back to how you were going to do it in the first place.
create a formula :
If UCase({F6}) in ["TEXT1","TEXT2"] then 1 else 0
place this in the detail. right click, insert, summary, then sum the field.
you can now delete the formula from the detail.
Reebo
Scotland (Sunny with a Smile)