variables setting misunderstanding

edited 12:01AM 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 12:01AM
    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 12:01AM
    SOLVED

Leave a Comment