Question: How to change a query parameter from the script?

Answer:

(may I write something like Query1.Params[0].Text := '10'?) 

No, FastReport can't access query parameters. But you can assign a variable to the parameter (in the parameters editor) and change this variable:

1
2
3
Query1.Close;
MyParam1 := '10';
Query1.Open;