Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7943987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:25:46+00:00 2026-06-04T00:25:46+00:00

I am having trouble managing my app with a SQLite Database. Here’s how I

  • 0

I am having trouble managing my app with a SQLite Database.

Here’s how I would like the app to flow and how the SQLite Db should look.

When you launch it the first time it puts three rows of data in based on some starter objects.

Id_ 1 “Bob”
Id_2 “Bill”
Id_3 “Steve”

At different points when the app is being used the user can choose to add a new row.

delete (Bob)
Id_1 “Bob”
Id_2 “Bill”
Id_3 “Steve”
Id_4 “Tony”

Also, the user can delete a row based upon the name of the object.

delete(Bob)
Id_1 “Bill”
Id_2 “Steve”
Id_3 “Tony

When I just use an Adapter class to delete the row (or all the rows) and then try to insert a new row, it deletes the row and doesn’t the others to fill that gap. How can I fill that in?

Do I need to find that row, then update that row with the values from the next row and repeat that until I have moved them all down?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T00:25:47+00:00Added an answer on June 4, 2026 at 12:25 am

    If you made changes to the DB for data in an active cursor, simply use the requery method and your list will refresh along with the cursor.

    yourCursor.requery();
    

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a fairly large site and am having trouble managing z-indexes. Is
Having trouble finding an explanation in the docs, would someone be kind enough to
Having trouble with recursive methods in c#. When compiled it should just display the
I'm having trouble managing my .dll references in projects in Visual Studio. All the
Having trouble getting my local IIS7 running C # MVC app to connect to
My question deals with this UI sample. Having trouble with approach to managing the
Having trouble finding a solution for my situation here. Sorry if this has been
I'm working on an Android application with a MapActivity and I'm having trouble managing
Having trouble finding the first character of Field42 inside xpath, see below. Any suggestions?
Having trouble inheriting from a template class. Looks something like this: template<typename type> class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.