CreateUniqueName

edited 8:59PM in FastReport .NET
Hi,

is there some special technique to using this method (especially CreateUniqueNames in table object) because it doesn't work at me. Thanks

Comments

  • edited 8:59PM
    Hello,

    You need to set object's Parent first:

    obj.Parent = band;
    obj.CreateUniqueName();

    In case you working with Table, you need to call its CreateUniqueNames() method which creates names for rows, columns and cells.
  • edited 8:59PM
    AlexTZ wrote: »
    Hello,

    You need to set object's Parent first:

    obj.Parent = band;
    obj.CreateUniqueName();

    In case you working with Table, you need to call its CreateUniqueNames() method which creates names for rows, columns and cells.

    Thanks for kick me in. My table was added into page but page wasn't in Report when I call? CreateUniqueNames(). Now it's working like a dream >.

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.