displaying Memo only at the last page

ichiroichiro berlin
Dear All, please help me.

The goal is to display Memo8 only at the last page.

I use Delphi6 and FastReport v.2.51

I try these syntax but it still failed :


******

procedure TForm1.frReport1BeforePrint(Memo: TStringList; View: TfrView);
begin
if ('Page') = ('TotalPages') then
frReport1.FindObject('Memo8').Visible:=true

else
frReport1.FindObject('Memo8').Visible:=false;
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
frReport1.DoublePass := true;
frReport1.ShowReport;
end;

******

Somebody could help me ?

Many Thanks in advance !

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:07PM
    you are posting in the wrong place please post your topic in the correct forum
  • edited 2:07PM
    HI guys

    I have tried selecting the memo field last in the sql query but this makes no difference. How To Save Multi-name Into One Field, And Display Only One i have an access database which i am displaying on a .asp page-the field i am .


    Thanks














    Potimarron - Piscine couverte

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.