Problem with GetColumnValue in Script
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:
I'm registering a generic list and now im trying to access on it in my Report Class:
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...
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...