That's really helpful thanks; everything works how I wanted it to, so far.
Just one more thing, I want to copy the value displayed in the Team Fee field, subtract 15 from it (i.e. early payment discount) and paste the new figure elsewhere in the document into a simple text field.
Can this be done?

Many thanks again,

Tim.