User Functions

edited November 2004 in FastReport 3.0
If I need a user function (like 'WeekOf'), the only way seems to register it at runtime (using Report.AddFunction...). Okay, but at this point, a designtime report preview doesn't work any more cause 'WeekOf' isn't known by the reporter - any ideas to fix this?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:36AM
    you can add your own function in the reports codepage
    ;)
  • edited 2:36AM
    Yep, as a workaround I've already created an internal subfunction which calls the 'real' delphi one, so I only need to remark this line while designing, but is this the one and only solution?

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.