% ' FP_ASP ASP, die von einer FrontPage-Komponente automatisch generiert wurde. Nicht Editieren. On Error Resume Next 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, "Kann Verbindung nicht herstellen" Set fp_rs = Server.CreateObject("ADODB.Recordset") FP_DumpError strErrorUrl, "Kann Datensatzgruppe nicht erstellen" fp_conn.Open Application("_ConnectionString") FP_DumpError strErrorUrl, "Kann Datenbank nicht öffnen" fp_rs.Open "", fp_conn, 1, 3, 2 ' adOpenKeySet, adLockOptimistic, adCmdTable FP_DumpError strErrorUrl, "Kann Datensatzgruppe nicht öffnen" fp_rs.AddNew FP_DumpError strErrorUrl, "Kann keine neue Datensatzgruppe zu Datenbank hinzufügen" Dim arFormFields0(0) Dim arFormDBFields0(0) FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0 fp_rs.Update FP_DumpError strErrorUrl, "Kann Datenbank nicht aktualisieren" fp_rs.Close fp_conn.Close FP_FormConfirmation "text/html; charset=windows-1252",_ "Formularbestätigung",_ "Vielen Dank für das Einsenden der folgenden Informationen:",_ "freiflaeche.htm",_ "Zurück zum Formular" End If End If %>
|