tmemo or memo value in a memo in FR

edited September 2005 in FastReport 3.0
Hi,

I am a novice and I search to recover the value of a unique memo field from database into a memo or a variable in FR.

I use a filter to select the record I need and if I understand well what I've read, this filter is not usable in FR. And I don't know the way to assign what is contained in that memo into something in FR.

This not for a simple report and an extraction of data from database.
This may help to see want I am trying to do :
 ?  For I := 1 To 6 Do
 ?  ?  Begin
 ?  ?  ?  ?  ? Datas.CategFilter := I;
 ?  ?  ?  ?  ? Datas.TblComment.Filtered :=True;

 ?  ?  ?  ?  case i of
 ?  ?  ?  ?  ?  ?  ? 1: With Memo1 do begin
 ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ? Lines.Clear;
 ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ? Lines.Add(Datas.TblComment['Commentaire']);
 ?  ?  ?  ?  ?  ?  ?  ?  end;
 ?  ?  ?  ?  ?  ?  ? 2: With Memo2 do begin
 ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ? Lines.Clear;
 ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ? Lines.Add(Datas.TblComment['Commentaire']);
 ?  ?  ?  ?  ?  ?  ?  ?  end;
 ?  ?  ?  ?  ?  ?  ? Etc...
 ?  ?  ?  ?  ? end;
 ?  ?  ?  ?  ? Datas.TblComment.Filtered := False;
 ?  end
Where MemoX are the memos in my report. (There are 6 memos)
If I put this code just before calling my frxreport, it doesn't work (undefined identifier or something like that...)
If I put this code in frxreport code : at least no filter.

If someone understands what I mean and can help...


(Please don't answer me only to read the documentation, I have to much nightmares with it ;) )

Comments

  • edited 8:09AM
    Is there anybody else than people in trouble with FR on this forum ?
    Nobody answers ... not really never but rarely !

    I guess that this forum is not the FR support, but if some users or developpers know something, why is there fast no answer. (Not only for my post...)

    Is the knowledge somewhere ?

    And finally, ... what about FR support, source, examples etc... ?!

    ;)
  • edited 8:09AM
    Give me the source code, and I try to help you.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.