The only way i got this to work was by copying the field data to the QRDBText caption(!!), this will make QR to call onPring event.
Monir ----- Original Message ----- From: "Monir-SCS" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, July 13, 2005 2:28 PM Subject: [delphi-en] QRDBText linked to MemoField > Hi, > In QuickReport I need to alter a memo field before print or preview it, I am > using TQRDBText for this field, then I used OnPrint event to alter the field > as follow: > > procedure TRprt.MemoPrint(sender: TObject; var Value: String); > begin > Value := DoTextFilter(Value); > end; > > The above way worked fine when the field type in the table was TStringField, > it is not working for TMemoField, the above function was never been called > at all. I also tried to alter the text using OnGetText event for this memo > filed in the table but also it was never been called. > > Can you help please? > > Monir. > > > > ----------------------------------------------------- > Home page: http://groups.yahoo.com/group/delphi-en/ > To unsubscribe: [EMAIL PROTECTED] > Yahoo! Groups Links > > > > > > > ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

