Pass params

mammam
edited 10:10PM 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 10:10PM
    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

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.