You can still use query parameters in your query. Be sure you understand the
difference between query parameters and report parameters. RS creates the
report parameter automatically for you (most of the time, in the generic
query design that sometimes is not the case). So you can still do this in
the generic query designer:
select a.somefield, b.someother field from table1 a inner join table2 b on
a.joiningfield = b.joiningfield where a.anotherfield = @Param
Note that @Param will cause RS to create a report parameter called Param.
You can also go against stored procedures. I do both all the time.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
[quoted text, click to view] "RayAll" <RayAll@microsft.com> wrote in message
news:uGPCrlpJFHA.3132@TK2MSFTNGP12.phx.gbl...
> But it dosen't work if I use vb.net codes like "Paramtere!param1.Value"
> ,,right?
>
> Thanks
> "Bruce L-C [MVP]" <bruce_lcNOSPAM@hotmail.com> wrote in message
> news:O05ueipJFHA.4056@TK2MSFTNGP14.phx.gbl...
>> Go to the generic query window (hover over the buttons to the left of the
>> ... to find the right button).
>>
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>>
>> "RayAll" <RayAll@microsft.com> wrote in message
>> news:ewB3lBpJFHA.4092@tk2msftngp13.phx.gbl...
>>> can someone tell me if it is possible to turn off Reporting Services
>>> query "beautifier" ? The particular query I am working on right now gets
>>> so re-written that it is much more dificult to read and understand. I
>>> would like it to be left the way I enter it. Is it possible, or
>>> Microsoft knows best?
>>>
>>> thanks
>>>
>>>
>>
>>
>
>