1

Hi All,

How do i set expression for a parameter in sql server reporting services r2?

Is it even possible?

The expression button is not even there.

Thanks.

Sagotharan
  • 2,586
  • 16
  • 73
  • 117
Aharon Muallem
  • 1,143
  • 3
  • 13
  • 20

2 Answers2

2

I solved this through the web application, In the web application I use the report-viewer control to gain accesses to the parameters. With the parameters at hand I have complete control on what should be displayed (exression It's a workaround but it works.

Aharon Muallem
  • 1,143
  • 3
  • 13
  • 20
1

At design time in the parameters dialogue box just type in the expression for the default value if the button isn't there.

= Now()

If you mean at runtime, then no you can't.

gbn
  • 422,506
  • 82
  • 585
  • 676