% ' FP_ASP ASP Automatically generated by a FrontPage Component. Do not Edit. On Error Resume Next Session("FP_OldCodePage") = Session.CodePage Session("FP_OldLCID") = Session.LCID Session.CodePage = 1252 Err.Clear strErrorUrl = "" If Request.ServerVariables("REQUEST_METHOD") = "POST" Then If Request.Form("VTI-GROUP") = "0" Then Err.Clear Set fp_conn = Server.CreateObject("ADODB.Connection") FP_DumpError strErrorUrl, "Cannot create connection" Set fp_rs = Server.CreateObject("ADODB.Recordset") FP_DumpError strErrorUrl, "Cannot create record set" fp_conn.Open Application("healthsciencedb_ConnectionString") FP_DumpError strErrorUrl, "Cannot open database" fp_rs.Open "AToQ", fp_conn, 1, 3, 2 ' adOpenKeySet, adLockOptimistic, adCmdTable FP_DumpError strErrorUrl, "Cannot open record set" fp_rs.AddNew FP_DumpError strErrorUrl, "Cannot add new record set to the database" Dim arFormFields0(6) Dim arFormDBFields0(6) Dim arFormValues0(6) arFormFields0(0) = "Ignore" arFormDBFields0(0) = "IgnoreQ" arFormValues0(0) = Request("Ignore") arFormFields0(1) = "CollegeCode" arFormDBFields0(1) = "CollegeCode" arFormValues0(1) = Request("CollegeCode") arFormFields0(2) = "Class" arFormDBFields0(2) = "ClassNumber" arFormValues0(2) = Request("Class") arFormFields0(3) = "AnsweredBy" arFormDBFields0(3) = "AnsweredBy" arFormValues0(3) = Request("AnsweredBy") arFormFields0(4) = "Answer" arFormDBFields0(4) = "Answer" arFormValues0(4) = Request("Answer") arFormFields0(5) = "QuestionID" arFormDBFields0(5) = "QuestionID" arFormValues0(5) = Request("QuestionID") FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0 FP_SaveFieldToDB fp_rs, Now, "DateAnswer" fp_rs.Update FP_DumpError strErrorUrl, "Cannot update the database" fp_rs.Close fp_conn.Close FP_FormConfirmation "text/html; charset=windows-1252",_ "Form Confirmation",_ "Thank you for submitting the following information:",_ "faq.html",_ "Return to the form." End If End If Session.CodePage = Session("FP_OldCodePage") Session.LCID = Session("FP_OldLCID") %> <% Dim FA FA = Request("FA") If FA <> 3277 Then %> <% Else %> <% FA=0 End If %>
Clarifying what remains confusing |
<% if 0 then %> <% end if %> <% fp_sQry="SELECT * FROM FAQ WHERE (QuestionID IS NULL AND Class = 709) ORDER BY Timestamp1 ASC" fp_sDefault="" fp_sNoRecords="No records returned." fp_sDataConn="healthsciencedb" fp_iMaxRecords=256 fp_iCommandType=1 fp_iPageSize=1 fp_fTableFormat=False fp_fMenuFormat=False fp_sMenuChoice="" fp_sMenuValue="" fp_sColTypes="&Week=3&ID=3&QuestionID=3&IgnoreQ=3&Topic1=202&Email1=202&Remains_Confusing1=203&Answer=203&DateAnswer=135&Timestamp1=135&CollegeCode=202&Class=3&" fp_iDisplayCols=11 fp_fCustomQuery=False BOTID=0 fp_iRegion=BOTID %> On <%=FP_FieldVal(fp_rs,"Timestamp1")%>, in topic <%=FP_FieldVal(fp_rs,"Topic1")%>, <%=FP_FieldVal(fp_rs,"Email1")%> asks: <%=FP_FieldVal(fp_rs,"Remains_Confusing1")%> QuestionID: <%=FP_FieldVal(fp_rs,"QuestionID")%>, IgnoreQ: <%=FP_FieldVal(fp_rs,"IgnoreQ")%>, ID: <%=FP_FieldVal(fp_rs,"ID")%> Class: <%=FP_FieldVal(fp_rs,"Class")%> CollegeCode: <%=FP_FieldVal(fp_rs,"CollegeCode")%> <% Dim a, b, c a=FP_FieldVal(fp_rs,"ID") b=FP_FieldVal(fp_rs,"Class") c=FP_FieldVal(fp_rs,"CollegeCode") %>
|