Skip to content Skip to sidebar Skip to footer

Python To Open Adodb Recordset And Add New Record

in my wxPython app which I am developing I have written a method which will add a new record into an access database (.accdb). I have procured this code from online search however

Solution 1:

I figured the solution, posting here just in case someone refers to it... it's a small correction in line

cDataset.Open("Allocated_Subs", con, 3, 3, 1)

it should be:-

cDataset.Open("Allocated_Subs", con, 1, 3)

Regards, Premanshu

Post a Comment for "Python To Open Adodb Recordset And Add New Record"