BCB6 + Variables = NULL

I am using c++builder6 and FR3.

I want to access in the frxReport->Variables method from the code but this one is always NULL!

How can I add categories and variables from the code?

Thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 12:42PM
    Please read programmers manual.
    ;)
  • edited 12:42PM
    Yes, I have read it, but it doesn't work...

    I have created a frxReport and all the methods and properties of the frxReport->Variables crash because the frxReport->Variables is equal to NULL. Then I cannot access to the variables.
  • edited 12:42PM
    It's really NULL... After 2 hours of debugging I've discovered that BCB does not like such constructions:

    private
    FA: TSomething;
    public
    property A: TSomething read FA;

    I've changed it to
    private
    FA: TSomething;
    function GetFA: TSomething;
    public
    property A: TSomething read GetFA;

    And it works now. BCB really ######... I start understanding why ReportBuilder does not have BCB version...
  • edited 12:42PM
    Thanks a lot for the quick answer. ;)
    When can I receive this corrected version?
    Could you send me this quickly?
  • edited 12:42PM
    No, I can't. Wait for the next release (in the next week).

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.