I have a crystal report which links to a stored procedure. The stored procedure accepts 1 parameter (siteid). The report works great, except that the siteid parameter is always blank with no choices.
I've added both a table and command prompt, so I can dynamically choose the SiteID (not at...
Here is the stored procedure with correct syntax:
CREATE PROCEDURE [usp_PlayerLookup]
@piPlayerID AS integer
AS
SELECT FirstName,
MI,
LastName
FROM dbo.tbl_Player
WHERE PlayerID = @piPlayerID
GO
Here is the stored procedure:
CREATE PROCEDURE [usp_PlayerLookup]
@piPlayerID AS integer
AS
SELECT FirstName,
MI,
LastName,
FROM dbo.tbl_Player
WHERE PlayerID = @piPlayerID
GO
I have a simple stored procedure that accepts one integer parameter. The stored procedure works fine in query analyzer. The database is SQL server 2000. I use crystal all the time to retrieve data from tables and views, but when I try a stored procedure (through the same odbc connection) I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.