<% ' 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 Session.LCID = 1033 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("Presenter1_ConnectionString") FP_DumpError strErrorUrl, "Cannot open database" fp_rs.Open "Entertainment", 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(7) Dim arFormDBFields0(7) Dim arFormValues0(7) arFormFields0(0) = "Email" arFormDBFields0(0) = "Email" arFormValues0(0) = Request("Email") arFormFields0(1) = "City" arFormDBFields0(1) = "City" arFormValues0(1) = Request("City") arFormFields0(2) = "ContactName" arFormDBFields0(2) = "ContactName" arFormValues0(2) = Request("ContactName") arFormFields0(3) = "Phone" arFormDBFields0(3) = "Phone" arFormValues0(3) = Request("Phone") arFormFields0(4) = "Zip" arFormDBFields0(4) = "Zip" arFormValues0(4) = Request("Zip") arFormFields0(5) = "State" arFormDBFields0(5) = "State" arFormValues0(5) = Request("State") arFormFields0(6) = "Address" arFormDBFields0(6) = "Address" arFormValues0(6) = Request("Address") FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0 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:",_ "volunteer.htm",_ "Return to the form." End If End If Session.CodePage = Session("FP_OldCodePage") Session.LCID = Session("FP_OldLCID") %> Idaho Falls Earth Day

 

Return to Committee Page

Entertainment Database Entry

Contact Name: 

Address:  

City:     State:     Zip Code: 

Phone: 

Email: 

 

 
<% if 0 then %> <% end if %> <% fp_sQry="SELECT * FROM Entertainment" fp_sDefault="" fp_sNoRecords="No records returned." fp_sDataConn="Presenter1" fp_iMaxRecords=256 fp_iCommandType=1 fp_iPageSize=0 fp_fTableFormat=False fp_fMenuFormat=False fp_sMenuChoice="" fp_sMenuValue="" fp_sColTypes="&ID=3&ContactName=202&Address=202&City=202&State=202&Zip=202&Phone=202&Email=202&" fp_iDisplayCols=7 fp_fCustomQuery=False BOTID=0 fp_iRegion=BOTID %>
  • Contact Name: <%=FP_FieldVal(fp_rs,"ContactName")%>

  • Address: <%=FP_FieldVal(fp_rs,"Address")%>

  • City: <%=FP_FieldVal(fp_rs,"City")%>

  • State: <%=FP_FieldVal(fp_rs,"State")%>

  • Zip: <%=FP_FieldVal(fp_rs,"Zip")%>

  • Phone: <%=FP_FieldVal(fp_rs,"Phone")%>

  • Email: <%=FP_FieldVal(fp_rs,"Email")%>


 

 

 
     
 

Home