Variable Categories

I want to create a category for variables I want to pass to my reports but I can't see how to do it programatically. I know I can create a category within the report but by this time it's too late to pick up the values.

What I'd like to do is create the category and variables before invoking the designer.

I looked in the documentation (V3 as V4 isn't available yet?) but could find anything except for deleting a category.

Once the category is there adding variables is no problem.

I'm using this with Delphi 7 btw.

Thanks for any help...

I'm a first time user of FR but I'm really impressed with what I've seen so far.

Mark

Comments

  • edited 4:40AM
    Category is a varaible with space symbol at begin. So you can add categories/variables easily with this code:

    frxReport1.Variables := Null;
    frxReport1.Variables := '...';
    frxReport1.Variables := '...';
    frxReport1.Variables := Null;
    frxReport1.Variables := '...';
  • edited 4:40AM
    That's great! Thanks Alex

Leave a Comment