CreateUniqueName
var
                                                                         Â
Memo: TfrxMemoView;
                                                 Â
Procedure frxReport1OnStartReport(Sender: TfrxComponent);
var i:integer;Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
begin
               Â
  For i:=11 to  MasterData2.dataset.FieldsCount -1 do
    begin
    Memo := TfrxMemoView.Create(Header2);
    Memo.CreateUniqueName;
    Memo.Text := 'Hello FastReport!';
                 Â
    end; Â
end;
I have a problem when I try to create Memo on Header2 band.
I get a message : Undeclared identifier CreateUniqueName
Why ?
Comments
since you haven't created a variable of the band type and pointed it to the band, you have not created the memo
and therefore cannot access its properties.
second where are you trying to do this inside the report script or at the delphi level?
OK, now I have code like this.
I added "head" variable, but CreateUniqueName is unknown again.
I just want add few memos on header and Masterdata.
I try to do this inside the report script.
Can anyone help me ?