المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : CRecordset insert problem



C++ Programming
06-26-2009, 12:51 PM
I have a stored procedure which inserts data to table and returns id of inserted data.
When I tried to execute procedure using CRecordset open method , i got exception because recordsets can only do selection (readonly).
But I saw that Addnew and Update methodes can be used to ?nsert new data using recordset.
Is there any workaround for open method to execute inserts?