- Jun 6, 2020
- 11,559
- 4,422
Hello Community,
in my actual project I use a SQLite DB.
I am able to create the DB and add entries.
After deleting an entry I got an error after I read the DB and show it in a xCustomListView.
The error says that the recordset is already closed.
Before I had delete the record I had 18 rows.
When I check the DB with DB Browser I can see 17 records which should be ok. Also the RowCount in the code shows 17.
I checked the SQLite Guide from Klaus and some posts here in the forum but found nothing.
Did I understand something wrong or do I have an error in my code?
I am using
- B4J 9.30
- jSQL 1.61
I use the following code.
Delete DB entry:
ShowTable:
in my actual project I use a SQLite DB.
I am able to create the DB and add entries.
After deleting an entry I got an error after I read the DB and show it in a xCustomListView.
The error says that the recordset is already closed.
Before I had delete the record I had 18 rows.
When I check the DB with DB Browser I can see 17 records which should be ok. Also the RowCount in the code shows 17.
I checked the SQLite Guide from Klaus and some posts here in the forum but found nothing.
Did I understand something wrong or do I have an error in my code?
I am using
- B4J 9.30
- jSQL 1.61
I use the following code.
Delete DB entry:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
ShowTable:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید