Band Component

TQRExpr. Use this to display the result of an arithmetic expression. Typically you use one of these when you need to massage the appearance of your data before printing it out. The best way to think of these is as ad hoc calculated fields, used only in the report. For example, you might use it to concatenate the parts of a customer name, held in a customer table as string fields called “Title”, “Forename” and “Surname”. To do this simply set the Expression property of TQRExpr to

Title + " " + Forename + " " + Surname

In real life, you would probably use a more complex expression to cope with blank fields elegantly, but you get the idea.