OLEDB INSERT

Discussion in 'General troubleshooting' started by alvin616, Jun 6, 2008.

  1. hi
    THis is ODBC insert code, how to chnage to OLEDB Thnaks.




    ' execute the insert
    Set MM_editCmd = Server.CreateObject("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_editConnection
    MM_editCmd.CommandText = MM_editQuery
    MM_editCmd.Execute
    MM_editCmd.ActiveConnection.Close
     
  2. This is some recordset code I used here more than a year ago for some ASP DB pages:


     

Share This Page