VBscript and ADO - 3704 Operation is not allowed when the object is closed

后端 未结 3 879
误落风尘
误落风尘 2021-01-13 19:58

This function inserts a row into a SQL database and needs to return the identity number created:

Function WriteDatabase(backupTypeID, numImages, folderSize,          


        
3条回答
  •  余生分开走
    2021-01-13 20:30

    I received the exact error, and managed to track it down to a PRINT statement that I had left in my SQL Server stored procedure. Once I commented the PRINT statement, the Recordset returned the results without error.

提交回复
热议问题