Variables are not shown
Hello,
we want use FastReport 4 for one of our products. But adding variables in our code seems to fail. Here's a part of our code:
frxReport.LoadFromFile('Endlos.fr3');
frxReport.Variables.Clear;
frxReport.Variables := Null;
frxReport.Variables.AddVariable('Auftraggeber', 'Name', '''' + 'SomeText' + '''');
frxReport.PrepareReport;
frxReport.Print;
In the Designer we use a Memo field with the Expression [Name]. But none of our variables is printed.
Where's my fault? Thank you
we want use FastReport 4 for one of our products. But adding variables in our code seems to fail. Here's a part of our code:
frxReport.LoadFromFile('Endlos.fr3');
frxReport.Variables.Clear;
frxReport.Variables := Null;
frxReport.Variables.AddVariable('Auftraggeber', 'Name', '''' + 'SomeText' + '''');
frxReport.PrepareReport;
frxReport.Print;
In the Designer we use a Memo field with the Expression [Name]. But none of our variables is printed.
Where's my fault? Thank you
Comments
ie frxreport1. unless you renamed it to frxreport or
you have set a property of the memo wrong visible, printable etc