QRGroup & QRExpr - cannot change expressions @ run time

Using QR. 3.04 & delphi 4

trying to change the expressions with database values , but
it only works in design mode.

There must be a way, because this is very basic for printing
subheading for each group. I must missing something.

Anybody know any work arounds.