% ' 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 = "http://www.solarbuzz.com/Survey/error.htm" 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("Solarb_ConnectionString") FP_DumpError strErrorUrl, "Cannot open database" fp_rs.Open "Survey1", 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(25) Dim arFormDBFields0(25) Dim arFormValues0(25) arFormFields0(0) = "SegmentIncrease" arFormDBFields0(0) = "SegmentIncrease" arFormValues0(0) = Request("SegmentIncrease") arFormFields0(1) = "Email_Address" arFormDBFields0(1) = "Email_Address" arFormValues0(1) = Request("Email_Address") arFormFields0(2) = "RevenueRange" arFormDBFields0(2) = "RevenueRange" arFormValues0(2) = Request("RevenueRange") arFormFields0(3) = "YourBiz" arFormDBFields0(3) = "YourBiz" arFormValues0(3) = Request("YourBiz") arFormFields0(4) = "FastestGrowth" arFormDBFields0(4) = "FastestGrowth" arFormValues0(4) = Request("FastestGrowth") arFormFields0(5) = "Other1" arFormDBFields0(5) = "Other1" arFormValues0(5) = Request("Other1") arFormFields0(6) = "MfgLines" arFormDBFields0(6) = "MfgLines" arFormValues0(6) = Request("MfgLines") arFormFields0(7) = "DeliveryTime" arFormDBFields0(7) = "DeliveryTime" arFormValues0(7) = Request("DeliveryTime") arFormFields0(8) = "Other2" arFormDBFields0(8) = "Other2" arFormValues0(8) = Request("Other2") arFormFields0(9) = "Business" arFormDBFields0(9) = "Business" arFormValues0(9) = Request("Business") arFormFields0(10) = "Other3" arFormDBFields0(10) = "Other3" arFormValues0(10) = Request("Other3") arFormFields0(11) = "CriticalSegment" arFormDBFields0(11) = "CriticalSegment" arFormValues0(11) = Request("CriticalSegment") arFormFields0(12) = "SubmitName" arFormDBFields0(12) = "SubmitName" arFormValues0(12) = Request("SubmitName") arFormFields0(13) = "Other4" arFormDBFields0(13) = "Other4" arFormValues0(13) = Request("Other4") arFormFields0(14) = "RateofGrowth" arFormDBFields0(14) = "RateofGrowth" arFormValues0(14) = Request("RateofGrowth") arFormFields0(15) = "RevenueRangeB" arFormDBFields0(15) = "RevenueRangeB" arFormValues0(15) = Request("RevenueRangeB") arFormFields0(16) = "Other5" arFormDBFields0(16) = "Other5" arFormValues0(16) = Request("Other5") arFormFields0(17) = "PowerModGrowth" arFormDBFields0(17) = "PowerModGrowth" arFormValues0(17) = Request("PowerModGrowth") arFormFields0(18) = "RiskGrowth" arFormDBFields0(18) = "RiskGrowth" arFormValues0(18) = Request("RiskGrowth") arFormFields0(19) = "InstalledPrice" arFormDBFields0(19) = "InstalledPrice" arFormValues0(19) = Request("InstalledPrice") arFormFields0(20) = "MfgImprove" arFormDBFields0(20) = "MFGImprove" arFormValues0(20) = Request("MfgImprove") arFormFields0(21) = "ElectricalGrowth" arFormDBFields0(21) = "ElectricalGrowth" arFormValues0(21) = Request("ElectricalGrowth") arFormFields0(22) = "ModulePrice" arFormDBFields0(22) = "ModulePrice" arFormValues0(22) = Request("ModulePrice") arFormFields0(23) = "MarketSegment" arFormDBFields0(23) = "MarketSegment" arFormValues0(23) = Request("MarketSegment") arFormFields0(24) = "CompanyName" arFormDBFields0(24) = "CompanyName" arFormValues0(24) = Request("CompanyName") FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0 FP_SaveFieldToDB fp_rs, Now, "DateTime" fp_rs.Update FP_DumpError strErrorUrl, "Cannot update the database" fp_rs.Close fp_conn.Close Session("FP_SavedFields")=arFormFields0 Session("FP_SavedValues")=arFormValues0 Session.CodePage = Session("FP_OldCodePage") Session.LCID = Session("FP_OldLCID") Response.Redirect "http://www.solarbuzz.com/Survey/Thanks.htm" End If End If Session.CodePage = Session("FP_OldCodePage") Session.LCID = Session("FP_OldLCID") %>
|
|
|
Market
Survey
Questionnaire |
|
|||||
| 2007 MARKET SURVEY QUESTIONNAIRE |
|
|
|
Market
Survey
Questionnaire |
|
|||||
|
© 2008 Solarbuzz, LLC. All rights reserved |