Variables and OnGetValue event

edited 12:37AM in FastReport 3.0
I have created a variable "Var1" with no value, and I want to print it.
In the OnGetValue event, I have made a return value for "Var1".

The problem is that the report generator stops with an error (empty value for "Var1") before it passes int the OnGetValue event.

It worked well in the V2.53.
Did I missed anything?

Comments

  • edited 12:37AM
    FR3.0 dont' fire OnGetValue event for such variables. You should set the variable value before running a report, or in the OnBeforePrint event.

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.