Hello, For troubleshooting purposes I need to see the insert query being generated on the add page when I hit save. How can I write this to the screen? I tried changing dDebug = true in the aspsetting.asp file, but this just shows the query used while opening the page, not after hitting save. thanks,
Tim, this will require you to make change in generated files. Open incilude/aspfunctions.asp file in any text editor and fund function ExecuteUpdate. Make the following change (see in bold):
error_happened=false
on error resume next
conn.Execute strSQL message = strSQL
ExecuteUpdate=false
exit function If err.Number=0 Then
ExecuteUpdate=true
exit function
end if
Besides that I recommend to add the following line to AfterAppInit event: