Hello wayneph,
Thanks again for the response. I finally figured out how to pass variables from asp to oracle however, now I have more issues.
I have a surveyUserAnswer table that consists of the following columns
SurveyID,Questionid,answerId,text.
Now I have successfuly passed to values using this
Code:
oCmd.Parameters.Append oCmd.CreateParameter("AnswerID", adVarChar, adParamInput, 100, Request.Form("interests"))
How do I populate the text field with information from the survey question as well as how do I populate surveyid, and questionID. These are not form elements for I cannot use request.form. I think I will need to do something in my stored procedure. Here it is if someone could build on this it would be greatly appreciated
Code:
CREATE OR REPLACE
PACKAGE BODY SurveyAnswerInsert
AS
PROCEDURE SurveyAnswerInsert(AnswerID IN VARCHAR2,
Text IN VARCHAR2)
IS
BEGIN
INSERT INTO Survey_User_Answer(Answer_Id,Text)
VALUES(AnswerID, Text);
END;
END;
Thanks again everyone.