Problem with GetColumnValue in Script

edited November 2010 in FastReport .NET
Hello,

since I am using 1.5.12.0 of FastReport.net, I have a problem with registering the data and access to it in the Report Script/Class.
This is a modified example of yours:
      
        report report = new report();

        // register the business object
        report.RegisterData(FBusinessObject, "Categories");
        report.Prepare();
                .......

I'm registering a generic list and now im trying to access on it in my Report Class:
    private void Data2_BeforePrint(object sender, EventArgs e)
    {
        object o = Report.GetColumnValue("Categories.Products.Name");
    }

at this point I receive null and one step later an exception...
and I am really sure that "Categories.Products.Name" exists

Is there any step I've forgotten?

regards

P.S.: I former used version 1.0.188.0 of FR.net and it worked well...

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.