![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Please, please, please help me with this... I have a form already working in a IIS and inserting rows in a MS-Acces database. The page was made with Dreamweaver and uses ASP for the form. |
|
======================================== Tipo de error: Microsoft OLE DB Provider for ODBC Drivers (0x80040E14) [Microsoft][Controlador ODBC Microsoft Access] Error de sintaxis en la instrucción INSERT INTO. /encuesta.asp, línea 78 Tipo de explorador: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Página: POST 350 bytes to /encuesta.asp Datos de POST: edad=&sexo=0&ditrito_vive=0&lugar_almuerzo=0&gasta _almuerzo=0&razon_satisfac |
|
======================================= This is the line 78 that seems to be the problem 71 MM_editQuery = "insert into " + MM_editTable + " (" + MM_tableValues + ") values (" + MM_dbValues + ")"; 72 73 if (!MM_abortEdit) { 74 // execute the insert 75 var MM_editCmd = Server.CreateObject('ADODB.Command'); 76 MM_editCmd.ActiveConnection = MM_editConnection; 77 MM_editCmd.CommandText = MM_editQuery; 78 MM_editCmd.Execute(); 79 MM_editCmd.ActiveConnection.Close(); if (MM_editRedirectUrl) { Response.Redirect(MM_editRedirectUrl); Does anyone have any idea? I'm in really trouble... needed to put this form on-line today! Thanks a lot... Giancarlo PS: could it be something with the java version? |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |