variables setting misunderstanding

edited 10:04PM in FastReport 4.0
hello,
using C++.

the <variable> has a default numeric value in fastreport (-1).
initiating event from C++ side the <variable> is changed by fastreport function(to check I use ShowMessge(<variable>) and it's changed ok).
immediatelly after that, the
int variable = report->Variables->operator []("variable");
returns the default value (-1).

Am I missing something here?

Comments

  • gpigpi
    edited 10:04PM
    Try to set TfrxReport->EngineOptions->DestroyForms to False
  • edited October 2011
    thank you for reply
    gpi wrote: »
    Try to set TfrxReport->EngineOptions->DestroyForms to False


    my fault, works.

    thank you
  • edited 10:04PM
    SOLVED

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.