In addition to what NotNowJohn has said, there is another way to execute
Update queries that will perform a bit quicker.
You don't have to create a
Recordset for
Insert,
Update and
Delete queries, because there won't be any records return to the client. You can simply use the
Execute method of the
Connection object to this:
Code:
objConn.Open
objConn.Execute(strsql)
objConn.Close
This saves you from creating a recordset that is never used.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.