Pass params

mammam
edited 7:53AM in FastReport 3.0
Hi.
With fastreport 3 how can i pass value to query params at runtime such as
adoquery1.params[0].value := 'Good'

thank's

Comments

  • edited 7:53AM
    on main script of the report, u can put code like this:
    q1.close;
    q1.params[0].value := <itemcode>;
    q1.open;

    then on the delphi event, u can put code like this:
    fr.Script.Clear;
    fr.Script.Variables := 1039;

    hope this help.

Leave a Comment