CREATE
@rodeoid
@eventcd
AS
BEGIN
finalsAmount
stockBackNumberUsed
FROM
WHERE
END
I get the following Error (See Attachment)
A quick correction to my posted code: The line reading
cmd.Parameters.Add("@rodeoid",SqlDbType.Int).Value = 1;
should be
cmd.Parameters.Add("@rodeoid",SqlDbType.Int).Value = nrod;
No change, however, to the way the program works (my test records had rodeoID=1...)
Les