Question: Error when assigning a string value to the FR variable.

Answer:

(code like rReport1.Dictionary.Variables['Range'] := '10..50') 

FastReport trying to calc such string values. Add quotes:

1
frReport1.Dictionary.Variables['Range'] := '''' + '10..50' + '''';

 

or use frVariables for static data.