Hi
In a LazReport pageheader I want a text from an TEdit component visible on screen. From LazReport tutorial I see
procedure TForm1.Button1Click(Sender:TObject);
begin
frReport1.Values.FindVariable('test').Field := QuotedStr('test1');
frReport1.ShowReport;
end;
The .lrf file is loaded, I have created the variable 'test' in category 'myown' in frReport1. 'test' is connected to values [None] in variables editor. Variable 'test' is placed in band on canvas together with a label.
I expected to see 'test1' printed when clikcing Button1, but only the label are printed.
I have removed the master data band at this stage.
Is there an explanation to the poor result.