Page 1 of 1

Cannot print passed parameter value

Posted: Fri Apr 08, 2011 2:17 am
by fox_224
Hi Vladimir,
I have added a parameter in the datasource and I can use the passed parameter in the SQL select. The records come out fine but I cannot seem to print the value of that parameter in my page headings. When I drag it from the datasource list the expression comes out as:
{DataSource1.Parameters["from_date"].ParameterValue}
Is this the correct syntax for the expression? Why does it not get printed?
Regards,

Cannot print passed parameter value

Posted: Fri Apr 08, 2011 6:16 am
by Vladimir
Hello,

The collection of parameters is not currently working. Please use the report variables:

In text expressions:
{Variable1}

In SQL queries:
SELECT * FROM {Variable1}

Thank you.

Re: Cannot print passed parameter value

Posted: Tue Jan 15, 2019 1:02 am
by gegar
Hello about this topic.

I can made this and is working-> SELECT * FROM {Variable1}

But I want to print or view in text expresion {Variable1} not working?

Expression in Text property of 'Text1' can't be evaluated! [object Object]

Why?

Re: Cannot print passed parameter value

Posted: Tue Jan 15, 2019 5:39 am
by HighAley
Hello.

It should work right.
Could you send us a sample report template?

Thank you.