Hi guys, I'm using a very simple database and dataset and it appears to be working, except I can't actually save any data. Here's what I did: I created an empty database with a corresponding empty dataset. I filled it in with 4 rows of dummy data (ID, name, address, etc). I dragged the table (called Lawyer) to the dataset. This created the update and insert methods. I then created a class, which has two methods. One to count the records, and one to add new data. This should be simple, and I've done it before, but for some reason …
|+0 forum 6|
Reusable Code Snippet Exploring Python SQL Module sqlite3
Explore Python's sqlite3 database module, create, write and read a database file.
|+3 forum 0|