The parameters must be unnamed. I report extensively (unfortunately) against
Sybase. This is what I have found works best for me.
1. Use ODBC, not OLEDB
2. For stored procedure use the generic designer (2 pane), text command type
and put in this:
test_sp ?,?
Execute it and put in the values when prompted. If no field list is created
then click on the refresh fields button (to the right of the ..., looks like
the refresh button for IE).
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
[quoted text, click to view] "Arshad Syed" <ArshadSyed@discussions.microsoft.com> wrote in message
news:6D6DE779-4549-4074-80F7-9F792FCC5A93@microsoft.com...
> Hi,
>
> I created a test procedure as below. However, when I execute the proc, I
> get the message stating: Procedure test_sp expects parameter @fldofc which
> was not supplied. In the Parameters tab I have made the assignment
> properly.
> Also, I added them to the Report Parameters in the main menu. When I call
> the
> proc in the Query string, I have tried all these options:
>
> 1.) exec test_sp @fldofc, @csmplmkt
> 2.) test_sp
> 3.) exec test_sp
>
> Nothing works! I am using Sybase ASE 12.5. Please help!! Thanks in
> advance.
> The proc is below. (Arshad)
>
> create proc test_sp
> @fldofc int ,
> @csmplmkt int
> as
> begin
>
> select * from cdv
>
> end
> go