P
|
Philip author 1/5/2008 |
Hello ASPRunner 5.1 / 327 I have problems to add records when a simple TEXT field contains characters as follows: works) [color="#FF0000"]D'Jeen can not be added (but DJeen works)
|
P
|
Philip author 1/7/2008 |
Some other research leads me close to the solution but ... ** UPDATE a record in another table **** strSQLUpdate = "UPDATE stamm SET " strSQLUpdate = strSQLUpdate & "H_Kategorie_AOA=" & "'" & dict("H_Kategorie_AOA") & "'" &", " strSQLUpdate = strSQLUpdate & "H_Klasse_AOA=" & "'" & dict("H_Klasse_AOA") & "'" &", " strSQLUpdate = strSQLUpdate & "H_Name_AOA=" & "'" & dict("H_Name_AOA") & "'" &", " strSQLUpdate = strSQLUpdate & "H_Rasse_AOA=" & "'" & dict("H_Rasse_AOA") & "'" &", " strSQLUpdate = strSQLUpdate & "H_SHSB_AOA=" & "'" & dict("H_SHSB_AOA") & "'" strSQLUpdate = strSQLUpdate & " where H_Lizenz_AOA=" & Session("UserID") dbConnection.Execute strSQLUpdate BeforeEdit = True
|
P
|
Philip author 1/9/2008 |
The problem is the single quote ( ' ) which is as well the delimiter used in SQL Update command. |