Changing memo text during report preparation
Hi, in my database I've got field called "present". And this field can have 2 values: 0(zero) or 1.
Then on my MasterDataBand I have memo connected to this field.
But I don't want this memo to show 0 or 1, just words. So I wrote in OnBeforePrint:
but it doesn't work. Why?
Memo still shows 0 or 1
Then on my MasterDataBand I have memo connected to this field.
But I don't want this memo to show 0 or 1, just words. So I wrote in OnBeforePrint:
case <frxDBDataset."present"> of
0: PresenceMemo.Text:='Not present';
1: PresenceMemo.Text:='Present';
end;
but it doesn't work. Why?
Memo still shows 0 or 1
Comments
[datasetname."fieldname"]