%' 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("Products1_ConnectionString") FP_DumpError strErrorUrl, "Cannot open database" fp_rs.Open "Products", 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(16) Dim arFormDBFields0(16) Dim arFormValues0(16) arFormFields0(0) = "message" arFormDBFields0(0) = "Message" arFormValues0(0) = Request("message") arFormFields0(1) = "hyperlink" arFormDBFields0(1) = "Hyperlink" arFormValues0(1) = Request("hyperlink") arFormFields0(2) = "thumbnail" arFormDBFields0(2) = "Thumbnail" arFormValues0(2) = Request("thumbnail") arFormFields0(3) = "size" arFormDBFields0(3) = "Size" arFormValues0(3) = Request("size") arFormFields0(4) = "price" arFormDBFields0(4) = "Price" arFormValues0(4) = Request("price") arFormFields0(5) = "Taxed" arFormDBFields0(5) = "Taxed" arFormValues0(5) = Request("Taxed") arFormFields0(6) = "manuf" arFormDBFields0(6) = "Manuf" arFormValues0(6) = Request("manuf") arFormFields0(7) = "sku" arFormDBFields0(7) = "SKU" arFormValues0(7) = Request("sku") arFormFields0(8) = "category" arFormDBFields0(8) = "Category" arFormValues0(8) = Request("category") arFormFields0(9) = "shortcat1" arFormDBFields0(9) = "Shortcat1" arFormValues0(9) = Request("shortcat1") arFormFields0(10) = "weight" arFormDBFields0(10) = "Weight" arFormValues0(10) = Request("weight") arFormFields0(11) = "inventory" arFormDBFields0(11) = "Inventory" arFormValues0(11) = Request("inventory") arFormFields0(12) = "description" arFormDBFields0(12) = "Description" arFormValues0(12) = Request("description") arFormFields0(13) = "units" arFormDBFields0(13) = "Units" arFormValues0(13) = Request("units") arFormFields0(14) = "name" arFormDBFields0(14) = "Name" arFormValues0(14) = Request("name") arFormFields0(15) = "gif" arFormDBFields0(15) = "Gif" arFormValues0(15) = Request("gif") FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0 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 "administer.asp" End If End If Session.CodePage = Session("FP_OldCodePage") Session.LCID = Session("FP_OldLCID") %>
Instructions: Select a Product category name or enter
all
or part of the Product name and press the search button.
|
Product Manager |
||
|
|
||
|
|
||
|
||