Variables are not shown

edited March 2007 in FastReport 4.0
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 ;)

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 3:49PM
    you probably missed the report components name.
    ie frxreport1. unless you renamed it to frxreport or
    you have set a property of the memo wrong visible, printable etc

Leave a Comment