Forum Moderators: phranque
When deleting a record from the database, DW produces more than 50 lines of code.
By hand, the same process takes about 6 lines.
Comparing the two versions, and taking out the common lines (extablishing the object, connecting, executing the SQL, and redirecting), the difference is one line by hand.
var SQL = "delete from table where recordID=" & Request("recordID")
nothing else is needed, yet DW produces half a page of code.